bind instance and uploads volumes
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