This repository has been archived on 2023-12-13. You can view files and clone it, but cannot push or open issues or pull requests.
neko-deployment/docker-compose.yml

58 lines
1.8 KiB
YAML
Raw Permalink Normal View History

2022-02-20 04:11:20 +01:00
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"
2022-02-20 04:11:58 +01:00
- "NEKO_ROOMS_INSTANCE_URL=http://neko.tormakristof.eu/" # external URL
2022-02-20 04:11:20 +01:00
- "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"