27 lines
655 B
YAML
27 lines
655 B
YAML
services:
|
|
restream:
|
|
#image: docker.angie.software/angie:1.11.4-alpine
|
|
build: angie_rtmp
|
|
restart: unless-stopped
|
|
container_name: restream
|
|
volumes:
|
|
- ./web:/usr/share/angie/html:ro
|
|
- ./rtmp.conf:/etc/angie/rtmp.d/rtmp.conf:ro
|
|
- ./http.conf:/etc/angie/http.d/default.conf:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /etc/timezone:/etc/timezone:ro
|
|
environment:
|
|
TZ: Europe/Moscow
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
ports:
|
|
- 1935:1935/tcp
|
|
- 1935:1935/udp
|
|
- 59080:80/tcp
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "5"
|
|
|