This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
services:
|
||||
streamhall:
|
||||
image: git.stdm.moe/stardream/streamhall:latest
|
||||
# To build from source instead: comment out image above and uncomment below
|
||||
# build: .
|
||||
container_name: streamhall
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- postgres
|
||||
ports:
|
||||
- "8085:8080"
|
||||
environment:
|
||||
SECRET_KEY: "change-this-secret"
|
||||
DATABASE_URL: "postgresql://streamhall:streamhall_pg_password@postgres:5432/streamhall"
|
||||
TZ: "UTC"
|
||||
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
container_name: streamhall-postgres
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_DB: "streamhall"
|
||||
POSTGRES_USER: "streamhall"
|
||||
POSTGRES_PASSWORD: "streamhall_pg_password"
|
||||
TZ: "UTC"
|
||||
volumes:
|
||||
- ./postgres-data:/var/lib/postgresql/data
|
||||
|
||||
srs:
|
||||
image: ossrs/srs:6
|
||||
container_name: streamhall-srs
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "1935:1935"
|
||||
- "18088:8080"
|
||||
|
||||
nginx-hls:
|
||||
image: nginx:alpine
|
||||
container_name: streamhall-nginx-hls
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- streamhall
|
||||
ports:
|
||||
- "8889:80"
|
||||
volumes:
|
||||
- ./nginx-hls.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
Reference in New Issue
Block a user