define frontend in docker-compose

This commit is contained in:
deflax 2021-10-10 23:01:27 +00:00
parent 8e53bc8014
commit 483a745d5d

View file

@ -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: {}