Skip to content

Commit 802bb25

Browse files
authored
Merge pull request #382 from telefonicaid/task/docker_port
fix default ports in docker
2 parents 54a17c5 + 283dfc5 commit 802bb25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ RUN \
7272
# Define the entry point
7373
ENTRYPOINT ["/opt/orchestrator/bin/orchestrator-entrypoint.sh"]
7474

75-
EXPOSE 8084
75+
EXPOSE ${PORT:-8084} ${STATS_PORT:-8184}
7676

7777
HEALTHCHECK --interval=60s --timeout=5s --start-period=10s \
78-
CMD curl --fail -X GET http://localhost:8084/v1.0/version || exit 1
78+
CMD curl --fail -X GET http://localhost:${PORT}/v1.0/version || exit 1

0 commit comments

Comments
 (0)