Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
attachable network
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbelvin committed Jan 16, 2020
1 parent 9f25373 commit f022cd0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.override.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
10 changes: 9 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.1"
version: "3.2"
secrets:
server.key:
file: ./genfiles/server.key
Expand Down Expand Up @@ -121,6 +121,9 @@ services:
secrets:
- server.key
- server.crt
networks:
- attachable
- default

monitor:
depends_on:
Expand All @@ -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.