Some small additional cleaning

master
Meliurwen 4 years ago
parent 6c54424b28
commit 4afe39d3f8
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 2
      .env.example
  2. 6
      docker-compose.yml
  3. 1
      shared.env.example

@ -3,7 +3,7 @@ TZ=Etc/UTC
HOST_DB_DIR=/srv/docker/volumes/funkwhale/postgres/data
HOST_CACHE_DIR=/srv/docker/volumes/funkwhale/redis/data
# In-place import dir
HOST_MUSIC_DIRECTORY_SERVE_PATH=/srv/docker/volumes/funkwhale/media/music
HOST_MUSIC_DIRECTORY_PATH=/srv/docker/volumes/funkwhale/media/music
# Where media files (such as album covers or audio tracks) should be stored
HOST_MEDIA_ROOT=/srv/docker/volumes/funkwhale/media/media
# Where static files (such as API css or icons) should be compiled

@ -32,7 +32,7 @@ services:
- postgres
- redis
volumes:
- "${HOST_MUSIC_DIRECTORY_SERVE_PATH}:/srv/wwww/music:ro"
- "${HOST_MUSIC_DIRECTORY_PATH}:/srv/wwww/music:ro"
- "${HOST_MEDIA_ROOT}:/srv/wwww/media"
env_file:
- all.env
@ -66,7 +66,7 @@ services:
- postgres
- redis
volumes:
- "${HOST_MUSIC_DIRECTORY_SERVE_PATH}:/srv/wwww/music:ro"
- "${HOST_MUSIC_DIRECTORY_PATH}:/srv/wwww/music:ro"
- "${HOST_MEDIA_ROOT}:/srv/wwww/media"
- "${HOST_STATIC_ROOT}:/srv/wwww/static"
- "${HOST_FUNKWHALE_FRONTEND_PATH}:/frontend"
@ -90,7 +90,7 @@ services:
volumes:
- "./nginx/funkwhale.template:/etc/nginx/conf.d/funkwhale.template:ro"
- "./nginx/funkwhale_proxy.conf:/etc/nginx/funkwhale_proxy.conf:ro"
- "${HOST_MUSIC_DIRECTORY_SERVE_PATH}:/srv/wwww/music:ro"
- "${HOST_MUSIC_DIRECTORY_PATH}:/srv/wwww/music:ro"
- "${HOST_MEDIA_ROOT}:/srv/wwww/media:ro"
- "${HOST_STATIC_ROOT}:/srv/wwww/static:ro"
- "${HOST_FUNKWHALE_FRONTEND_PATH}:/srv/wwww/frontend:ro"

@ -2,7 +2,6 @@
# They are here only because Funkwhale needs them declared
MUSIC_DIRECTORY_PATH=/srv/wwww/music
MUSIC_DIRECTORY_SERVE_PATH=/srv/wwww/music
MEDIA_ROOT=/srv/wwww/media
STATIC_ROOT=/srv/wwww/static

Loading…
Cancel
Save