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"
|
- "./data/rtmp/hls:/tmp/hls"
|
||||||
depends_on:
|
depends_on:
|
||||||
- "auth"
|
- "auth"
|
||||||
|
- "frontend"
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
labels:
|
labels:
|
||||||
- meta.role=rtmp
|
- 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:
|
networks:
|
||||||
internal: {}
|
internal: {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue