diff --git a/Dockerfile b/Dockerfile index 94b044458..9b3f2d31c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,6 +61,9 @@ RUN ln -s $HOME/bin/pleroma /bin/akkoma RUN ln -s $HOME/bin/pleroma_ctl /bin/pleroma_ctl RUN ln -s $HOME/bin/pleroma_ctl /bin/akkoma_ctl +RUN mkdir -p /etc/akkoma +ENV AKKOMA_CONFIG_PATH=/etc/akkoma/config.exs + ADD docker-entrypoint.sh $HOME/docker-entrypoint.sh USER $UNAME diff --git a/docker-compose.yml b/docker-compose.yml index bb2d06486..50c3ed37a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -39,7 +39,7 @@ services: "127.0.0.1:4000:4000", ] volumes: - - ./config/prod.secret.exs:/opt/akkoma/config.exs + - ./config/prod.secret.exs:/etc/akkoma/config.exs # Copy this into docker-compose.override.yml and uncomment there if you want to use a reverse proxy #proxy: