Add config options, remove old stack attempt
This commit is contained in:
parent
03f2943d95
commit
35707ccd47
|
@ -2,7 +2,10 @@ TYPE=icecast
|
|||
|
||||
DOMAIN=icecast.example.com
|
||||
|
||||
## Domain aliases
|
||||
#EXTRA_DOMAINS=', `www.icecast.example.com`'
|
||||
|
||||
LETS_ENCRYPT_ENV=production
|
||||
|
||||
ICECAST_SOURCE_PASSWORD=changeme
|
||||
|
||||
ICECAST_ADMIN_PASSWORD=changeme
|
||||
|
||||
ICECAST_LOCATION=Cyberspace
|
||||
|
|
37
compose.yml
37
compose.yml
|
@ -2,46 +2,15 @@
|
|||
version: "3.8"
|
||||
|
||||
services:
|
||||
# app:
|
||||
# image: perl19/icecast2
|
||||
# environment:
|
||||
# - IC_AUTH_ADMIN=admin
|
||||
# - IC_AUTH_ADMIN_PASS=hackme
|
||||
# - IC_SOURCE_PASS=hackme
|
||||
# - IC_HOSTNAME=$DOMAIN
|
||||
# - IC_PORT=8000
|
||||
# - IC_LIMITS_CLIENTS=1000
|
||||
# - IC_LIMITS_SOURCES=1
|
||||
# - IC_LIMITS_QUEUE_SIZE=524288
|
||||
# - IC_LIMITS_BURST_SIZE=65535
|
||||
# - IC_LIMITS_CLIENT_TIMEOUT=30
|
||||
# - IC_LIMITS_HEADER_TIMEOUT=15
|
||||
# - IC_LIMITS_SOURCE_TIMEOUT=10
|
||||
# ports:
|
||||
# - target: 8000
|
||||
# published: 8000
|
||||
# mode: host
|
||||
# deploy:
|
||||
# restart_policy:
|
||||
# condition: on-failure
|
||||
# labels:
|
||||
# - "traefik.enable=true"
|
||||
# - "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8000"
|
||||
# - "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||
# - "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
# - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
# ## Redirect from EXTRA_DOMAINS to DOMAIN
|
||||
# #- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
||||
# #- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
||||
# #- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||
# - "coop-cloud.${STACK_NAME}.version="
|
||||
|
||||
app:
|
||||
image: libretime/icecast:2.5-beta3
|
||||
networks:
|
||||
- proxy
|
||||
environment:
|
||||
- ICECAST_HOSTNAME=$DOMAIN
|
||||
- ICECAST_SOURCE_PASSWORD
|
||||
- ICECAST_ADMIN_PASSWORD
|
||||
- ICECAST_LOCATION
|
||||
ports:
|
||||
- target: 8000
|
||||
published: 8000
|
||||
|
|
Loading…
Reference in New Issue