ipv6-test-backend/docker-compose.yml
thehrz 0a358e1bce
All checks were successful
CI / deploy (push) Successful in 2m29s
pref: update CORS config
2024-08-19 09:34:35 +08:00

35 lines
808 B
YAML

version: "3.9"
networks:
traefik:
name: traefik
external: true
ipv6-test:
name: ipv6-test
services:
frontend:
build: ./web
container_name: ipv6-test-frontend
restart: always
networks:
- ipv6-test
backend:
build: .
container_name: ipv6-test-backend
restart: always
networks:
- ipv6-test
nginx:
build: ./nginx
container_name: ipv6-test-nginx
restart: always
labels:
- traefik.enable=true
- traefik.http.routers.ipv6-test.rule=Host(`ipv6test.online`) || Host(`test.ipv6test.online`) || Host(`4.ipv6test.online`) || Host(`6.ipv6test.online`)
- traefik.http.routers.ipv6-test.entrypoints=web,websecure
- traefik.http.routers.ipv6-test.middlewares=CORS@file
networks:
- traefik
- ipv6-test