fix(dev): Remove duplicate definition of MEDIA_ROOT from compose file

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2533>
env-file-cleanup
Georg Krause 2023-07-25 11:09:48 +02:00 zatwierdzone przez Georg Krause
rodzic 16f8d43fe5
commit e0e10f3005
1 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

@ -71,7 +71,6 @@ services:
- "DATABASE_URL=postgresql://postgres@postgres/postgres" - "DATABASE_URL=postgresql://postgres@postgres/postgres"
- "CACHE_URL=redis://redis:6379/0" - "CACHE_URL=redis://redis:6379/0"
- "STATIC_ROOT=/staticfiles" - "STATIC_ROOT=/staticfiles"
- "MEDIA_ROOT=/data/media"
depends_on: depends_on:
- postgres - postgres
@ -103,7 +102,6 @@ services:
- "FUNKWHALE_PROTOCOL=${FUNKWHALE_PROTOCOL-http}" - "FUNKWHALE_PROTOCOL=${FUNKWHALE_PROTOCOL-http}"
- "DATABASE_URL=postgresql://postgres@postgres/postgres" - "DATABASE_URL=postgresql://postgres@postgres/postgres"
- "CACHE_URL=redis://redis:6379/0" - "CACHE_URL=redis://redis:6379/0"
- "MEDIA_ROOT=/data/media"
volumes: volumes:
- ./api:/app - ./api:/app
- "${MUSIC_DIRECTORY_SERVE_PATH-./data/music}:/music:ro" - "${MUSIC_DIRECTORY_SERVE_PATH-./data/music}:/music:ro"