ci: update config

This commit is contained in:
thehrz 2023-08-05 13:50:37 +08:00
parent bf9d86ada8
commit c7eaf03828
Signed by: thehrz
GPG Key ID: C84CBCE7D5F88855

View File

@ -6,8 +6,12 @@ networks:
services:
frontend:
build: ./19yuke2-frontend
ports:
- 80:80
container_name: 19yuke2-nginx
container_name: 19yuke2-frontend
restart: always
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