mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-22 16:16:39 +00:00
Add exports_volume to docker-compose.yml
Exports should be written to a Docker volume instead of to the bind mount (= source directory). This way they are shared between different containers even when they run on different machines.
This commit is contained in:
parent
a770689245
commit
073f62d5bb
2 changed files with 4 additions and 0 deletions
|
@ -29,6 +29,7 @@ services:
|
|||
- .:/app
|
||||
- static_volume:/app/static
|
||||
- media_volume:/app/images
|
||||
- exports_volume:/app/exports
|
||||
depends_on:
|
||||
- db
|
||||
- celery_worker
|
||||
|
@ -67,6 +68,7 @@ services:
|
|||
- .:/app
|
||||
- static_volume:/app/static
|
||||
- media_volume:/app/images
|
||||
- exports_volume:/app/exports
|
||||
depends_on:
|
||||
- db
|
||||
- redis_broker
|
||||
|
@ -81,6 +83,7 @@ services:
|
|||
- .:/app
|
||||
- static_volume:/app/static
|
||||
- media_volume:/app/images
|
||||
- exports_volume:/app/exports
|
||||
depends_on:
|
||||
- celery_worker
|
||||
restart: on-failure
|
||||
|
@ -109,6 +112,7 @@ volumes:
|
|||
pgdata:
|
||||
static_volume:
|
||||
media_volume:
|
||||
exports_volume:
|
||||
redis_broker_data:
|
||||
redis_activity_data:
|
||||
networks:
|
||||
|
|
0
exports/.gitkeep
Normal file
0
exports/.gitkeep
Normal file
Loading…
Reference in a new issue