Stop creating the 'docker' network
This commit is contained in:
@@ -1,18 +1,6 @@
|
|||||||
name: bootstrap
|
name: bootstrap
|
||||||
|
|
||||||
services:
|
services:
|
||||||
docker:
|
|
||||||
hostname: docker
|
|
||||||
image: alpine/socat
|
|
||||||
command: tcp-listen:2375,fork,reuseaddr unix-connect:/var/run/docker.sock
|
|
||||||
networks:
|
|
||||||
- docker
|
|
||||||
volumes:
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
restart: unless-stopped
|
|
||||||
labels:
|
|
||||||
nas-compose.boostrap: true
|
|
||||||
|
|
||||||
portainer:
|
portainer:
|
||||||
hostname: portainer
|
hostname: portainer
|
||||||
image: portainer/portainer-ce
|
image: portainer/portainer-ce
|
||||||
@@ -21,9 +9,8 @@ services:
|
|||||||
--hide-label nas-compose.boostrap=true
|
--hide-label nas-compose.boostrap=true
|
||||||
--admin-password-file /run/secrets/portainer_password
|
--admin-password-file /run/secrets/portainer_password
|
||||||
user: ${NASCOMPOSE_UID?}:${NASCOMPOSE_GID?}
|
user: ${NASCOMPOSE_UID?}:${NASCOMPOSE_GID?}
|
||||||
networks:
|
|
||||||
- docker
|
|
||||||
volumes:
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /var/packages/ContainerManager/var/docker/volumes/:/var/lib/docker/volumes/
|
- /var/packages/ContainerManager/var/docker/volumes/:/var/lib/docker/volumes/
|
||||||
- ${NASCOMPOSE_SERVICES?}/bootstrap/volumes/portainer_data/:/data/
|
- ${NASCOMPOSE_SERVICES?}/bootstrap/volumes/portainer_data/:/data/
|
||||||
# Secrets
|
# Secrets
|
||||||
@@ -33,9 +20,3 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
nas-compose.boostrap: true
|
nas-compose.boostrap: true
|
||||||
|
|
||||||
networks:
|
|
||||||
docker:
|
|
||||||
name: docker
|
|
||||||
labels:
|
|
||||||
nas-compose.boostrap: true
|
|
||||||
|
|||||||
@@ -10,13 +10,8 @@ services:
|
|||||||
WATCHTOWER_INCLUDE_STOPPED: true
|
WATCHTOWER_INCLUDE_STOPPED: true
|
||||||
WATCHTOWER_NOTIFICATION_REPORT: true
|
WATCHTOWER_NOTIFICATION_REPORT: true
|
||||||
WATCHTOWER_NOTIFICATION_URL: /run/secrets/watchtower_notification_url
|
WATCHTOWER_NOTIFICATION_URL: /run/secrets/watchtower_notification_url
|
||||||
networks:
|
|
||||||
- docker
|
|
||||||
volumes:
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
# Secrets
|
# Secrets
|
||||||
- ${NASCOMPOSE_SERVICES?}/docker-monitoring/secrets/notification_url:/run/secrets/watchtower_notification_url:ro
|
- ${NASCOMPOSE_SERVICES?}/docker-monitoring/secrets/notification_url:/run/secrets/watchtower_notification_url:ro
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
networks:
|
|
||||||
docker:
|
|
||||||
external: true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user