1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-12-14 06:19:21 +00:00

Make sure networks order is the same

This commit is contained in:
SilverFire - Dmitry Naumenko
2022-05-11 12:54:51 +00:00
parent c4ad18fecc
commit 510d376f00
3 changed files with 56 additions and 1 deletions

View File

@@ -0,0 +1,26 @@
version: '2'
networks:
net1: {}
net2: {}
net3: {}
services:
nginx-proxy:
image: nginxproxy/nginx-proxy:test
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
networks:
- net1
web:
image: web
expose:
- "81"
environment:
WEB_PORTS: 81
VIRTUAL_HOST: web1.nginx-proxy.local
networks:
- net1
- net2
- net3