17 lines
643 B
Plaintext
17 lines
643 B
Plaintext
|
version: "{{ compose_version }}"
|
||
|
|
||
|
services:
|
||
|
api:
|
||
|
image: "funkwhale/funkwhale:{{ funkwhale_version }}"
|
||
|
container_name: funkwhale_import
|
||
|
env_file:
|
||
|
- ./conf.env
|
||
|
volumes:
|
||
|
- "{{ funkwhale_import_music_directory_host }}:{{ funkwhale_import_music_directory }}:ro"
|
||
|
- "static:{{ funkwhale_static_root }}"
|
||
|
- "frontend:{{ funkwhale_frontend }}"
|
||
|
- /etc/timezone:/etc/timezone:ro
|
||
|
- /etc/localtime:/etc/localtime:ro
|
||
|
command: ["python", "manage.py", "import_files", "{{ funkwhale_import_library_id }}", "{{ funkwhale_import_music_directory }}", "--recursive", "--noinput", "--prune"]
|
||
|
restart: no
|