Create docker-compose.yml
Browse files- docker-compose.yml +23 -0
docker-compose.yml
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
services:
|
2 |
+
escape-server:
|
3 |
+
image: ubuntu:22.04
|
4 |
+
volumes:
|
5 |
+
- /home/deploy/builds/dedicated:/home
|
6 |
+
networks:
|
7 |
+
- traefik-network
|
8 |
+
command: /home/build.x86_64 -nographics -batchmode
|
9 |
+
restart: unless-stopped
|
10 |
+
labels:
|
11 |
+
traefik.enable: true
|
12 |
+
traefik.udp.routers.secure-escape-server.entrypoints: server
|
13 |
+
traefik.udp.services.udp-service.loadbalancer.server.port: 5000
|
14 |
+
|
15 |
+
traefik.http.routers.secure-escape-wss.rule: Host("server.escapegame.xyz")
|
16 |
+
traefik.http.routers.secure-escape-wss.tls: true
|
17 |
+
traefik.http.routers.secure-escape-wss.entrypoints: websecure
|
18 |
+
traefik.http.routers.secure-escape-wss.tls.certresolver: myhttpchallenge
|
19 |
+
traefik.http.services.wss-service.loadbalancer.server.port: 443
|
20 |
+
|
21 |
+
networks:
|
22 |
+
traefik-network:
|
23 |
+
external: true
|