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
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:
parent
df40ab6831
commit
0a7b074508
2 changed files with 6 additions and 0 deletions
|
@ -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"]
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue