bind instance and uploads volumes
Some checks are pending
ci/woodpecker/push/build-amd64 Pipeline is pending
ci/woodpecker/push/build-arm64 Pipeline is pending
ci/woodpecker/push/build-docker Pipeline is pending
ci/woodpecker/push/docs Pipeline is pending
ci/woodpecker/push/lint Pipeline is pending
ci/woodpecker/push/test Pipeline is pending

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
VOLUME uploads /opt/akkoma/uploads
VOLUME instance /opt/akkoma/instance
VOLUME config /etc/akkoma/config.exs
CMD ["/opt/akkoma/docker-entrypoint.sh"]

View file

@ -36,6 +36,8 @@ services:
]
volumes:
- ./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
#proxy: