Changed the app root dir to /srv/funkwhale/

master
Meliurwen 4 years ago
parent 8150782067
commit bf6d79183b
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 13
      .env.example
  2. 2
      docker-compose.yml

@ -1,15 +1,14 @@
# Global Settings # Global Settings
TZ=Etc/UTC HOST_DB_DIR=/srv/funkwhale/postgres/data
HOST_DB_DIR=/srv/docker/volumes/funkwhale/postgres/data HOST_CACHE_DIR=/srv/funkwhale/redis/data
HOST_CACHE_DIR=/srv/docker/volumes/funkwhale/redis/data
# In-place import dir # In-place import dir
HOST_MUSIC_DIRECTORY_PATH=/srv/docker/volumes/funkwhale/media/music HOST_MUSIC_DIRECTORY_PATH=/srv/funkwhale/media/music
# Where media files (such as album covers or audio tracks) should be stored # Where media files (such as album covers or audio tracks) should be stored
HOST_MEDIA_ROOT=/srv/docker/volumes/funkwhale/media/media HOST_MEDIA_ROOT=/srv/funkwhale/media/media
# Where static files (such as API css or icons) should be compiled # Where static files (such as API css or icons) should be compiled
HOST_STATIC_ROOT=/srv/docker/volumes/funkwhale/api/static HOST_STATIC_ROOT=/srv/funkwhale/api/static
# Why this exists? # Why this exists?
HOST_FUNKWHALE_FRONTEND_PATH=/srv/docker/volumes/funkwhale/api/front/dist HOST_FUNKWHALE_FRONTEND_PATH=/srv/funkwhale/api/frontend
# Replace this by the definitive, public domain you will use for # Replace this by the definitive, public domain you will use for
# your instance. It cannot be changed after initial deployment # your instance. It cannot be changed after initial deployment
# without breaking your instance. # without breaking your instance.

@ -2,7 +2,7 @@ version: "3"
services: services:
postgres: postgres:
image: ${DB_IMG:-postgres}:${DB_TAG:-12} image: ${DB_IMG:-postgres}:${DB_TAG:-12.4}
container_name: ${DB_CONTAINER_NAME:-funkwhale-db} container_name: ${DB_CONTAINER_NAME:-funkwhale-db}
restart: ${DB_RESTART:-unless-stopped} restart: ${DB_RESTART:-unless-stopped}
volumes: volumes:

Loading…
Cancel
Save