diff options
Diffstat (limited to 'installation/src/main/yaml/docker-compose.yml')
-rw-r--r-- | installation/src/main/yaml/docker-compose.yml | 41 |
1 files changed, 24 insertions, 17 deletions
diff --git a/installation/src/main/yaml/docker-compose.yml b/installation/src/main/yaml/docker-compose.yml index 932e5bb9..bb9acfb2 100644 --- a/installation/src/main/yaml/docker-compose.yml +++ b/installation/src/main/yaml/docker-compose.yml @@ -1,5 +1,12 @@ version: '2' +networks: + default: + driver: bridge + driver_opts: + com.docker.network.driver.mtu: ${MTU} + + services: db: image: mysql/mysql-server:5.6 @@ -9,13 +16,13 @@ services: environment: - MYSQL_ROOT_PASSWORD=openECOMP1.0 - MYSQL_ROOT_HOST=% - logging: + logging: driver: "json-file" - options: + options: max-size: "30m" max-file: "5" - - + + sdnc: image: openecomp/sdnc-image:latest depends_on : @@ -31,19 +38,19 @@ services: environment: - MYSQL_ROOT_PASSWORD=openECOMP1.0 - SDNC_CONFIG_DIR=/opt/openecomp/sdnc/data/properties - logging: + logging: driver: "json-file" - options: + options: max-size: "30m" max-file: "5" - - + + web: image: openecomp/admportal-sdnc-image:latest depends_on: - db container_name: sdnc_portal_container - entrypoint: + entrypoint: - "/bin/bash" - "-c" - "cd /opt/openecomp/sdnc/admportal/shell && ./start_portal.sh" @@ -57,13 +64,13 @@ services: environment: - MYSQL_ROOT_PASSWORD=openECOMP1.0 - SDNC_CONFIG_DIR=/opt/openecomp/sdnc/data/properties - logging: + logging: driver: "json-file" - options: + options: max-size: "30m" max-file: "5" - - + + dgbuilder: image: openecomp/dgbuilder-sdnc-image:latest depends_on: @@ -83,10 +90,10 @@ services: environment: - MYSQL_ROOT_PASSWORD=openECOMP1.0 - SDNC_CONFIG_DIR=/opt/openecomp/sdnc/data/properties - logging: + logging: driver: "json-file" - options: + options: max-size: "30m" max-file: "5" - - + + |