fix(compose): mount STATIC_ROOT volume to expected location and pass var
See nginx.conf.j2 for details
This commit is contained in:
parent
c375329580
commit
ee98d3159c
|
@ -139,6 +139,7 @@ services:
|
||||||
- "FUNKWHALE_FRONT_PORT=${VUE_PORT:-8080}"
|
- "FUNKWHALE_FRONT_PORT=${VUE_PORT:-8080}"
|
||||||
- "COMPOSE_PROJECT_NAME=${COMPOSE_PROJECT_NAME}"
|
- "COMPOSE_PROJECT_NAME=${COMPOSE_PROJECT_NAME}"
|
||||||
- "FUNKWHALE_HOSTNAME=${FUNKWHALE_HOSTNAME:-localhost}"
|
- "FUNKWHALE_HOSTNAME=${FUNKWHALE_HOSTNAME:-localhost}"
|
||||||
|
- "STATIC_ROOT=/staticfiles"
|
||||||
depends_on:
|
depends_on:
|
||||||
- api
|
- api
|
||||||
- front
|
- front
|
||||||
|
@ -147,7 +148,7 @@ services:
|
||||||
- "${MUSIC_DIRECTORY_SERVE_PATH:-./data/music}:/music:ro"
|
- "${MUSIC_DIRECTORY_SERVE_PATH:-./data/music}:/music:ro"
|
||||||
- ./deploy/funkwhale_proxy.conf:/etc/nginx/funkwhale_proxy.conf:ro
|
- ./deploy/funkwhale_proxy.conf:/etc/nginx/funkwhale_proxy.conf:ro
|
||||||
- "./front:/frontend:ro"
|
- "./front:/frontend:ro"
|
||||||
- "./data/staticfiles:/staticfiles:ro"
|
- "./data/staticfiles:/usr/share/nginx/html/staticfiles:ro"
|
||||||
- "./data/media:/protected/media:ro"
|
- "./data/media:/protected/media:ro"
|
||||||
networks:
|
networks:
|
||||||
- federation
|
- federation
|
||||||
|
|
Loading…
Reference in New Issue