From 483a745d5d836dee1b7ddfee9026fdaf664b8d72 Mon Sep 17 00:00:00 2001 From: deflax Date: Sun, 10 Oct 2021 23:01:27 +0000 Subject: [PATCH] define frontend in docker-compose --- docker-compose.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index f40bd25..7277f25 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -57,12 +57,25 @@ services: - "./data/rtmp/hls:/tmp/hls" depends_on: - "auth" + - "frontend" restart: always networks: - internal labels: - meta.role=rtmp + frontend: # container for python frontend + build: frontend/. + command: uwsgi uwsgi.ini + volumes: + - "./config/frontend/config.yml:/code/config.yml:ro" + - "./config/frontend/uwsgi.ini:/code/uwsgi.ini:ro" + restart: always + networks: + - internal + labels: + - meta.role=frontend + networks: internal: {}