mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-07-01 22:35:45 +00:00
tests: factor out base nginx-proxy config
This commit is contained in:
@ -7,6 +7,14 @@ networks:
|
||||
- subnet: fd00::/80
|
||||
|
||||
services:
|
||||
nginx-proxy:
|
||||
environment:
|
||||
ENABLE_IPV6: "true"
|
||||
networks:
|
||||
net1:
|
||||
ipv4_address: 172.20.0.4
|
||||
ipv6_address: fd00::4
|
||||
|
||||
web1:
|
||||
container_name: web1
|
||||
image: web
|
||||
@ -33,13 +41,3 @@ services:
|
||||
ipv4_address: 172.20.0.3
|
||||
ipv6_address: fd00::3
|
||||
|
||||
sut:
|
||||
image: nginxproxy/nginx-proxy:test
|
||||
environment:
|
||||
ENABLE_IPV6: "true"
|
||||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
networks:
|
||||
net1:
|
||||
ipv4_address: 172.20.0.4
|
||||
ipv6_address: fd00::4
|
||||
|
Reference in New Issue
Block a user