ipv6-test-backend/docker-compose.yml

31 lines
700 B
YAML
Raw Normal View History

2024-08-17 08:41:02 +08:00
version: "3.8"
networks:
traefik:
name: traefik
external: true
ipv6-test:
name: ipv6-test
services:
frontend:
build: ./web
container_name: ipv6-test-frontend
restart: always
labels:
- traefik.enable=true
- traefik.http.routers.ipv6-test.rule=Host(`ipv6-test.thehrz.net`)
- traefik.http.routers.ipv6-test.entrypoints=web,websecure
- traefik.http.routers.ipv6-test.tls.certresolver=letsencrypt
- traefik.http.services.ipv6-test.loadbalancer.server.port=3000
networks:
- traefik
- ipv6-test
backend:
build: .
container_name: ipv6-test-backend
restart: always
networks:
- traefik
- ipv6-test