From 95ef7259d762fc035d6a2c19f9db5fdba06faeb8 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Fri, 23 Mar 2018 11:13:31 +0100 Subject: [PATCH] Fix network --- compose/docker-compose-2.sample.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/compose/docker-compose-2.sample.yml b/compose/docker-compose-2.sample.yml index 707f2fc..74f8845 100644 --- a/compose/docker-compose-2.sample.yml +++ b/compose/docker-compose-2.sample.yml @@ -47,7 +47,8 @@ services: max-size: "500m" max-file: "9" environment: - MYSQL_ROOT_PASSWORD: password + MYSQL_ALLOW_EMPTY_PASSWORD: "true" + MARIADB_PASS: password # Apache HTTPd httpd: build: ./dockerfiles/httpd/2.4/debian-9 @@ -60,15 +61,12 @@ services: options: max-size: "1g" max-file: "10" - networks: - front: - ipv4_address: 172.10.0.2 networks: - front: + default: driver: bridge ipam: driver: default config: - - subnet: 172.10.0.0/16 - gateway: 172.10.0.1 + - subnet: 172.18.0.0/16 + gateway: 172.18.0.1