mount config file in the right place

This commit is contained in:
Floatingghost 2024-05-29 05:36:52 +01:00
parent 9e480ab73e
commit f3c2aae62b
2 changed files with 4 additions and 1 deletions

View file

@ -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/pleroma_ctl
RUN ln -s $HOME/bin/pleroma_ctl /bin/akkoma_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 ADD docker-entrypoint.sh $HOME/docker-entrypoint.sh
USER $UNAME USER $UNAME

View file

@ -39,7 +39,7 @@ services:
"127.0.0.1:4000:4000", "127.0.0.1:4000:4000",
] ]
volumes: 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 # Copy this into docker-compose.override.yml and uncomment there if you want to use a reverse proxy
#proxy: #proxy: