www.19yuke2.cn/docker-compose.yml

21 lines
551 B
YAML
Raw Normal View History

2023-08-05 11:31:59 +08:00
version: "3.8"
networks:
2023-08-05 13:57:10 +08:00
traefik:
name: traefik
external: true
2023-08-05 11:31:59 +08:00
services:
frontend:
build: ./19yuke2-frontend
2023-08-05 13:50:37 +08:00
container_name: 19yuke2-frontend
2023-08-05 11:31:59 +08:00
restart: always
2023-08-05 13:50:37 +08:00
labels:
- traefik.enable=true
- traefik.http.routers.19yuke2-frontend.rule=Host(`test.thehrz.net`)
- traefik.http.routers.19yuke2-frontend.entrypoints=web,websecure
- traefik.http.routers.19yuke2-frontend.tls.certresolver=letsencrypt
- traefik.http.services.19yuke2-frontend.loadbalancer.server.port=80
2023-08-05 13:57:10 +08:00
networks:
- traefik