Skip to content
Snippets Groups Projects
Verified Commit 65888768 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Added worker service

parent 6653eccd
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@ services:
api:
restart: ${RESTART_POLICY-unless-stopped}
command: funkwhale-network server
build:
context: .
args:
......@@ -48,6 +49,22 @@ services:
- db
- redis
worker:
restart: ${RESTART_POLICY-unless-stopped}
command: funkwhale-network worker start
build:
context: .
args:
- flavour=${FLAVOUR-}
environment:
- "DB_DSN=${DB_DSN-user=postgres password=postgres dbname=funkwhale_network host=db}"
- REDIS_HOST=${REDIS_HOST-redis}
- REDIS_DB=${REDIS_DB-0}
volumes:
- ".:/app/"
depends_on:
- db
- redis
volumes:
grafana:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment