Solved funkwhale variable bug

This commit is contained in:
Kevin Veen-Birkenbach 2025-02-03 13:22:53 +01:00
parent b671f9dd05
commit d2478120ba
2 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@ services:
# flag: # flag:
# celery -A funkwhale_api.taskapp worker -l INFO --concurrency=4 # celery -A funkwhale_api.taskapp worker -l INFO --concurrency=4
restart: {{docker_restart_policy}} restart: {{docker_restart_policy}}
image: funkwhale/api:${applications.funkwhale.version:-latest} image: funkwhale/api:${FUNKWHALE_VERSION}
env_file: .env env_file: .env
command: celery -A funkwhale_api.taskapp worker -l INFO --concurrency=${CELERYD_CONCURRENCY-0} command: celery -A funkwhale_api.taskapp worker -l INFO --concurrency=${CELERYD_CONCURRENCY-0}
environment: environment:
@ -27,7 +27,7 @@ services:
celerybeat: celerybeat:
restart: {{docker_restart_policy}} restart: {{docker_restart_policy}}
image: funkwhale/api:${applications.funkwhale.version:-latest} image: funkwhale/api:${FUNKWHALE_VERSION}
env_file: .env env_file: .env
command: celery -A funkwhale_api.taskapp beat --pidfile= -l INFO command: celery -A funkwhale_api.taskapp beat --pidfile= -l INFO
{% include 'templates/docker/container/depends-on-database-redis.yml.j2' %} {% include 'templates/docker/container/depends-on-database-redis.yml.j2' %}
@ -35,7 +35,7 @@ services:
api: api:
restart: {{docker_restart_policy}} restart: {{docker_restart_policy}}
image: funkwhale/api:${applications.funkwhale.version:-latest} image: funkwhale/api:${FUNKWHALE_VERSION}
env_file: .env env_file: .env
volumes: volumes:
- "music:${MUSIC_DIRECTORY_PATH}:ro" - "music:${MUSIC_DIRECTORY_PATH}:ro"
@ -48,7 +48,7 @@ services:
front: front:
restart: {{docker_restart_policy}} restart: {{docker_restart_policy}}
image: funkwhale/front:${applications.funkwhale.version:-latest} image: funkwhale/front:${FUNKWHALE_VERSION}
depends_on: depends_on:
- api - api
env_file: env_file:

View File

@ -18,7 +18,7 @@
# ----------- # -----------
MUSIC_DIRECTORY_PATH=/music MUSIC_DIRECTORY_PATH=/music
applications.funkwhale.version={{applications.funkwhale.version}} FUNKWHALE_VERSION={{applications.funkwhale.version}}
# End of docker-only configuration # End of docker-only configuration