-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.proxy.yml
35 lines (35 loc) · 1.14 KB
/
docker-compose.proxy.yml
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
version: '3.7'
services:
proxy:
image: itzg/bungeecord
user: ${CURRENT_USER}
environment:
TYPE: ${PROXY_TYPE:-WATERFALL}
CFG_BASE_URL: ${WEB_BASE_URL}
ports:
- ${PROXY_PORT:-25565}:25577/tcp
- ${PROXY_PORT:-25565}:25577/udp
# enable to forward votifier
# - 8192:8192/tcp
volumes:
- ./configs/proxy:/config:z
- ./servers/proxy:/server:z
- ./proxy-plugins:/plugins:z
networks:
- minecraft
env_file:
- sql.secrets.env
- globals.env
labels:
- traefik.http.routers.plan-${ENVIRONMENT}.rule=Host(`plan.${WEB_BASE_URL}`)
- traefik.http.services.plan-${ENVIRONMENT}.loadbalancer.server.port=8804
- traefik.http.routers.plan-${ENVIRONMENT}.entrypoints=websecure
- traefik.http.routers.plan-${ENVIRONMENT}.tls.certresolver=myresolver
- traefik.http.routers.plan-${ENVIRONMENT}.tls=true
- traefik.docker.network=minecraft
- restic-compose-backup.volumes=true
- restic-compose-backup.tags=minecraft,proxy,${ENVIRONMENT}
- restic-compose-backup.volumes.include="servers/proxy"
networks:
minecraft:
driver: bridge