define frontend in docker-compose
This commit is contained in:
parent
8e53bc8014
commit
483a745d5d
1 changed files with 13 additions and 0 deletions
|
@ -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: {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue