Skip to content
Permalink
Browse files

attachable network

  • Loading branch information
gdbelvin committed Jan 9, 2020
1 parent 9f25373 commit f022cd07dd64015e6433aa8096f340699e1621e0
Showing with 11 additions and 3 deletions.
  1. +1 −1 docker-compose.override.yml
  2. +1 −1 docker-compose.prod.yml
  3. +9 −1 docker-compose.yml
@@ -1,7 +1,7 @@
# Development configuration
# docker-compose up will automatically find and apply this configuration

version: "3.1"
version: "3.2"
services:
db:
ports:
@@ -1,7 +1,7 @@
# Production configuration
# docker-compose up -f docker-compose.yml docker-compose.prod.yml

version: "3.1"
version: "3.2"
services:
db:
environment:
@@ -1,4 +1,4 @@
version: "3.1"
version: "3.2"
secrets:
server.key:
file: ./genfiles/server.key
@@ -121,6 +121,9 @@ services:
secrets:
- server.key
- server.crt
networks:
- attachable
- default

monitor:
depends_on:
@@ -145,3 +148,8 @@ services:
- server.key
- server.crt
- monitor.key

networks:
attachable:
driver: overlay
attachable: true

0 comments on commit f022cd0

Please sign in to comment.
You can’t perform that action at this time.