1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-17 18:49:15 +00:00

bind instance and uploads volumes

This commit is contained in:
Floatingghost 2024-05-29 06:07:35 +01:00
parent df40ab6831
commit 0a7b074508
2 changed files with 6 additions and 0 deletions

View file

@ -68,4 +68,8 @@ ADD docker-entrypoint.sh $HOME/docker-entrypoint.sh
USER $UNAME USER $UNAME
VOLUME uploads /opt/akkoma/uploads
VOLUME instance /opt/akkoma/instance
VOLUME config /etc/akkoma/config.exs
CMD ["/opt/akkoma/docker-entrypoint.sh"] CMD ["/opt/akkoma/docker-entrypoint.sh"]

View file

@ -36,6 +36,8 @@ services:
] ]
volumes: volumes:
- ./config/prod.secret.exs:/etc/akkoma/config.exs - ./config/prod.secret.exs:/etc/akkoma/config.exs
- ./uploads:/opt/akkoma/uploads
- ./instance:/opt/akkoma/instance
# 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: