add docker-compose file
This commit is contained in:
parent
576f26c0c1
commit
87662a1d11
58
docker-compose.yml
Normal file
58
docker-compose.yml
Normal file
@ -0,0 +1,58 @@
|
||||
version: "3.5"
|
||||
|
||||
networks:
|
||||
default:
|
||||
attachable: "true"
|
||||
name: "neko-rooms-traefik"
|
||||
|
||||
services:
|
||||
traefik:
|
||||
image: "traefik"
|
||||
restart: "always"
|
||||
environment:
|
||||
- "TZ=Europe/Budapest"
|
||||
command:
|
||||
- "--providers.docker=true"
|
||||
- "--providers.docker.watch=true"
|
||||
- "--providers.docker.exposedbydefault=false"
|
||||
- "--providers.docker.network=neko-rooms-traefik"
|
||||
- "--entrypoints.web.address=:8080"
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
- "./usersfile:/usersfile:ro"
|
||||
|
||||
neko-rooms:
|
||||
image: "m1k1o/neko-rooms:latest"
|
||||
restart: "always"
|
||||
environment:
|
||||
- "TZ=Europe/Budapest"
|
||||
- "NEKO_ROOMS_EPR=59000-59049"
|
||||
- "NEKO_ROOMS_TRAEFIK_ENTRYPOINT=web"
|
||||
- "NEKO_ROOMS_TRAEFIK_NETWORK=neko-rooms-traefik"
|
||||
- "NEKO_ROOMS_INSTANCE_URL=http://zelenka.tormakristof.eu/" # external URL
|
||||
- "NEKO_ROOMS_ICELITE=true"
|
||||
- "NEKO_SCREEN=1920x1080@30"
|
||||
- "NEKO_VIDEO_BITRATE=9000"
|
||||
- "NEKO_AUDIO_BITRATE=192"
|
||||
- "NEKO_ROOMS_NEKO_IMAGES=m1k1o/neko:firefox m1k1o/neko:ungoogled-chromium m1k1o/neko:xfce"
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.services.neko-rooms-frontend.loadbalancer.server.port=8080"
|
||||
- "traefik.http.routers.neko-rooms.entrypoints=web"
|
||||
- "traefik.http.routers.neko-rooms.rule=HostRegexp(`{host:.+}`)"
|
||||
- "traefik.http.routers.neko-rooms.priority=1"
|
||||
- "traefik.http.middlewares.nrooms-auth.basicauth.usersfile=/usersfile"
|
||||
- "traefik.http.routers.neko-rooms.middlewares=nrooms-auth"
|
||||
|
||||
nginx:
|
||||
image: "nginx"
|
||||
restart: "always"
|
||||
environment:
|
||||
- "TZ=Europe/Budapest"
|
||||
ports:
|
||||
- "127.0.0.1:8080:8080"
|
||||
volumes:
|
||||
- "./nginx.conf:/etc/nginx/conf.d/default.conf:ro"
|
||||
- "/etc/letsencrypt:/cert"
|
Reference in New Issue
Block a user