china-genshin-impact-high-s.../docker-compose.yml

21 lines
526 B
YAML
Raw Normal View History

2023-11-04 22:09:58 +08:00
version: "3.8"
networks:
traefik:
name: traefik
external: true
services:
nginx:
build: .
container_name: hfbz-nginx
restart: always
labels:
- traefik.enable=true
2023-11-04 23:03:46 +08:00
- traefik.http.routers.hfbz-nginx.rule=Host(`中国原神中学.com`, `www.中国原神中学.com`)
2023-11-04 22:29:42 +08:00
- traefik.http.routers.hfbz-nginx.entrypoints=web
# - traefik.http.routers.hfbz-nginx.tls.certresolver=letsencrypt
# - traefik.http.routers.hfbz-nginx.middlewares=CORS@file
2023-11-04 22:09:58 +08:00
networks:
- traefik