-
Notifications
You must be signed in to change notification settings - Fork 20
/
comfy-stack.yaml
45 lines (42 loc) · 916 Bytes
/
comfy-stack.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: '3.8'
services:
comfy-channel:
image: comfy-channel:local
restart: unless-stopped
environment:
- SERVER_IP=nginx-rtmp/live/stream
depends_on:
- nginx-rtmp
secrets:
- source: playout
target: /comfy-channel/playout.ini
mode: 0400
secrets:
- source: config
target: /comfy-channel/src/Config.py
mode: 0400
volumes:
- ~/dev/comfy-content:/comfy-channel/videos
nginx-rtmp:
image: tiangolo/nginx-rtmp
ports:
- "80:80"
- "1935:1935"
secrets:
- source: nginx-config
target: /etc/nginx/nginx.conf
mode: 0400
- source: index-html
target: /www/index.html
mode: 0644
secrets:
nginx-config:
file: ./nginx/nginx.conf
index-html:
file: ./nginx/index.html
playout:
file: ./playout.ini
config:
file: ./src/Config.py
volumes:
comfy-volume: