ModelWeb / docker-compose.yml
clone3's picture
Create docker-compose.yml
9c1c228 verified
services:
escape-server:
image: ubuntu:22.04
volumes:
- /home/deploy/builds/dedicated:/home
networks:
- traefik-network
command: /home/build.x86_64 -nographics -batchmode
restart: unless-stopped
labels:
traefik.enable: true
traefik.udp.routers.secure-escape-server.entrypoints: server
traefik.udp.services.udp-service.loadbalancer.server.port: 5000
traefik.http.routers.secure-escape-wss.rule: Host("server.escapegame.xyz")
traefik.http.routers.secure-escape-wss.tls: true
traefik.http.routers.secure-escape-wss.entrypoints: websecure
traefik.http.routers.secure-escape-wss.tls.certresolver: myhttpchallenge
traefik.http.services.wss-service.loadbalancer.server.port: 443
networks:
traefik-network:
external: true