diff --git a/docker-compose.yml b/docker-compose.yml
index eb703448d69731731131daf7da52e24b15164751..cae08b492927f3aa81913d8100050baa09baffd7 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -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: