diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-08-13 11:23:33 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2018-08-19 16:44:33 +0200 |
commit | 6415882b1c3c9ead00ccbab09e2292a22ce3d1d2 (patch) | |
tree | e23930a245fcc90de77dbd79feb46a32c2c16b32 | |
parent | c3c84a02f3df8d5d9bc6cb8e755d7f31b9257f80 (diff) |
docker: compose: Added internal networks
-rw-r--r-- | contrib/docker-compose.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/docker-compose.yml b/contrib/docker-compose.yml index f960e386..1dbb7e81 100644 --- a/contrib/docker-compose.yml +++ b/contrib/docker-compose.yml @@ -9,6 +9,8 @@ services: - 5000:80 volumes: - static:/var/www/html + networks: + - internal depends_on: - engelsystem engelsystem: @@ -23,6 +25,9 @@ services: MYSQL_DATABASE: engelsystem volumes: - static:/var/www/html + networks: + - internal + - database depends_on: - database database: @@ -34,6 +39,12 @@ services: MYSQL_RANDOM_ROOT_PASSWORD: 1 volumes: - db:/var/lib/mysql + networks: + - database volumes: db: {} static: {} + +networks: + internal: + database: |