Skip to content

Commit 5340922

Browse files
authored
Update docker-compose-sdh.yml (#41)
1 parent 6cd5e42 commit 5340922

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker-compose-sdh.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
- frontend
1111
- backend
1212
ports:
13-
- ${PORTS}
13+
- "${ENVT_PORT}:80"
1414

1515
frontend:
1616
image: openmrs/openmrs-reference-application-3-frontend:${TAG:-qa}
@@ -21,7 +21,7 @@ services:
2121
SPA_CONFIG_URLS: /openmrs/spa/config-core-sdh-${ENVT}.json
2222
SPA_DEFAULT_LOCALE:
2323
healthcheck:
24-
test: ["CMD", "curl", "-f", "http://localhost/"]
24+
test: ["CMD", "curl", "-f", "http://localhost:${ENVT_PORT}/"]
2525
timeout: 5s
2626
depends_on:
2727
- backend
@@ -40,7 +40,7 @@ services:
4040
OMRS_CONFIG_CONNECTION_USERNAME: ${OPENMRS_DB_USER:-openmrs}
4141
OMRS_CONFIG_CONNECTION_PASSWORD: ${OPENMRS_DB_PASSWORD:-openmrs}
4242
healthcheck:
43-
test: ["CMD", "curl", "-f", "http://localhost:8080/openmrs"]
43+
test: ["CMD", "curl", "-f", "http://localhost:${ENVT_PORT}/openmrs"]
4444
timeout: 5s
4545
volumes:
4646
- openmrs-data:/openmrs/data

0 commit comments

Comments
 (0)