Skip to content

Commit

Permalink
fix: support non-80 port locally
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLicense committed May 28, 2024
1 parent df14522 commit d8c6a45
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d8c6a45

Please sign in to comment.