Improve networks

Create a single external network called "external".
Create container-specific networks.
Only a few containers need access to these.
So far: openldap, postgres.
This commit is contained in:
2021-06-21 10:38:18 +02:00
parent f5824a5ffe
commit c418b61ede
6 changed files with 17 additions and 12 deletions

View File

@ -3,8 +3,7 @@
name: 'portainer'
image: portainer/portainer-ce
networks:
- name: nginx-internal
- name: bridge
- name: external
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
ports: