diff --git a/compose.yaml b/compose.yaml index af913a908e..51fdb1f446 100644 --- a/compose.yaml +++ b/compose.yaml @@ -6,6 +6,12 @@ services: - 80:80 volumes: - /var/run/docker.sock:/tmp/docker.sock:ro + networks: + default: + aliases: + - api.local.olcs.dev-dvsacloud.uk + - ssweb.local.olcs.dev-dvsacloud.uk + - iuweb.local.olcs.dev-dvsacloud.uk api: build: @@ -21,6 +27,7 @@ services: AWS_SESSION_TOKEN: ${AWS_SESSION_TOKEN} PHP_IDE_CONFIG: "serverName=vol.local.api" VIRTUAL_HOST: api.local.olcs.dev-dvsacloud.uk + VIRTUAL_PORT: 8080 selfserve: build: @@ -36,6 +43,7 @@ services: AWS_SESSION_TOKEN: ${AWS_SESSION_TOKEN} PHP_IDE_CONFIG: "serverName=vol.local.selfserve" VIRTUAL_HOST: ssweb.local.olcs.dev-dvsacloud.uk + VIRTUAL_PORT: 8080 internal: build: @@ -51,6 +59,7 @@ services: AWS_SESSION_TOKEN: ${AWS_SESSION_TOKEN} PHP_IDE_CONFIG: "serverName=vol.local.internal" VIRTUAL_HOST: iuweb.local.olcs.dev-dvsacloud.uk + VIRTUAL_PORT: 8080 redis: image: redis:7 @@ -59,7 +68,7 @@ services: db: image: mysql:8.0 - command: --log_bin_trust_function_creators=1 + command: --log_bin_trust_function_creators=1 --sql_mode=NO_ENGINE_SUBSTITUTION restart: always volumes: - db-data:/var/lib/mysql