-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
38 lines (35 loc) · 1.37 KB
/
docker-compose.yaml
File metadata and controls
38 lines (35 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: '3.1'
services:
www-live:
environment:
- LEIN_NO_DEV=1
- PROXY=true
build:
context: .
dockerfile: Dockerfile
image: digitalprime/mcserverinfo-ssr:latest
networks:
- traefik-net
deploy:
labels:
- "traefik.enable=true"
- "traefik.http.routers.mcsi-ssr-live.tls=true"
- "traefik.http.routers.mcsi-ssr-live.tls.certresolver=letsencrypt"
- "traefik.http.routers.mcsi-ssr-live.rule=Host(`www.mcserverinfo.com`)"
- "traefik.http.routers.mcsi-ssr-live.entrypoints=web,websecure"
- "traefik.http.routers.mcsi-ssr-live.service=mcsi-ssr-live"
- "traefik.http.services.mcsi-ssr-live.loadbalancer.server.port=3000"
- "traefik.http.middlewares.mcsi-ssr-live.compress=true"
# Normal docker, the swarm one is above
labels:
- "traefik.enable=true"
- "traefik.http.routers.mcsi-ssr-live.tls=true"
- "traefik.http.routers.mcsi-ssr-live.tls.certresolver=letsencrypt"
- "traefik.http.routers.mcsi-ssr-live.rule=Host(`www.mcserverinfo.com`)"
- "traefik.http.routers.mcsi-ssr-live.entrypoints=web,websecure"
- "traefik.http.routers.mcsi-ssr-live.service=mcsi-ssr-live"
- "traefik.http.services.mcsi-ssr-live.loadbalancer.server.port=3000"
- "traefik.http.middlewares.mcsi-ssr-live.compress=true"
networks:
traefik-net:
external: true