Compare commits

...

2 commits

Author SHA1 Message Date
2edf5c9a16 Set AKKOMA_CONFIG_PATH in Dockerfile 2023-08-05 06:09:28 +09:00
a41facc5b2 Remove stale todo comment 2023-08-05 06:08:15 +09:00
2 changed files with 1 additions and 1 deletions

View file

@ -63,6 +63,7 @@ COPY --from=build ${INSTALL_DIR}_build/ ${INSTALL_DIR}
COPY ./docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
ENV PATH="/opt/akkoma/bin:${PATH}"
ENV AKKOMA_CONFIG_PATH="${CONFIG_DIR}config.exs"
WORKDIR ${INSTALL_DIR}

View file

@ -168,7 +168,6 @@ defp do_check_rum!(setting, migrate) do
defp check_pgroonga!(:ok) do
{_, res, _} =
Ecto.Migrator.with_repo(Pleroma.Repo, fn repo ->
# TODO: check migrate
migrate =
from(o in "pg_indexes",
where: o.indexname == "object_content_pgroonga"