21 lines
502 B
YAML
21 lines
502 B
YAML
|
version: "3.9"
|
||
|
|
||
|
networks:
|
||
|
traefik:
|
||
|
name: traefik
|
||
|
external: true
|
||
|
|
||
|
services:
|
||
|
ipv6-test:
|
||
|
build: .
|
||
|
container_name: ipv6-test
|
||
|
restart: always
|
||
|
labels:
|
||
|
- traefik.enable=true
|
||
|
- traefik.http.routers.ipv6-test.rule=Host(`ipv6.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
|