www.19yuke2.cn/docker-compose.yml
thehrz 946662503b
All checks were successful
CI / Deploy (push) Successful in 3m45s
pref: update ssl config
2024-08-24 22:15:40 +08:00

20 lines
488 B
YAML

version: "3.8"
networks:
traefik:
name: traefik
external: true
services:
frontend:
build: ./19yuke2-frontend
container_name: 19yuke2-frontend
restart: always
labels:
- traefik.enable=true
- traefik.http.routers.19yuke2-frontend.rule=HostRegexp(`^(www\.)?19yuke2\.cn$`)
- traefik.http.routers.19yuke2-frontend.entrypoints=web,websecure
- traefik.http.services.19yuke2-frontend.loadbalancer.server.port=80
networks:
- traefik