2024-08-17 10:07:15 +08:00
|
|
|
version: "3.9"
|
2024-08-17 08:41:02 +08:00
|
|
|
|
|
|
|
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
|
2024-08-17 10:07:15 +08:00
|
|
|
nginx:
|
|
|
|
build: ./nginx
|
|
|
|
container_name: ipv6-test-nginx
|
|
|
|
restart: always
|
2024-08-17 23:22:53 +08:00
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
2024-08-18 20:54:34 +08:00
|
|
|
- traefik.http.routers.ipv6-test.rule=Host(`ipv6test.online`) || Host(`test.ipv6test.online`) || Host(`4.ipv6test.online`) || Host(`6.ipv6test.online`)
|
2024-08-17 23:22:53 +08:00
|
|
|
- traefik.http.routers.ipv6-test.entrypoints=web,websecure
|
2024-08-19 09:34:35 +08:00
|
|
|
- traefik.http.routers.ipv6-test.middlewares=CORS@file
|
2024-08-17 10:07:15 +08:00
|
|
|
networks:
|
|
|
|
- traefik
|
|
|
|
- ipv6-test
|