Skip to content

Commit a221748

Browse files
committed
Fix invalid Docker defaults for the Ultimate Webservices
1 parent e194cd4 commit a221748

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

packaging/docker/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -500,14 +500,17 @@ ENV ULTIMATE_FRONTEND_SERVE="False"
500500
ENV ULTIMATE_FRONTEND_PATH="${USER_HOME}"
501501
ENV ULTIMATE_FRONTEND_ROUTE="/website"
502502

503-
# expose communication port of the Webbackend
503+
# expose communication port of the WebBackend
504504
EXPOSE "${ULTIMATE_BACKEND_PORT}"
505505

506-
# define health check to supervise the Ultimate Webbackend's availability
506+
# define health check to supervise the Ultimate WebBackend's availability
507507
HEALTHCHECK --interval=1m --timeout=10s --start-period=20s \
508508
CMD curl -f "http://${ULTIMATE_BACKEND_HOST}:${ULTIMATE_BACKEND_PORT}${ULTIMATE_BACKEND_ROUTE}" || exit 1
509509

510-
# default entry point to automatically configure and start the Ultimate Webbackend product
510+
# append WebBackend executable and solvers directory to the PATH environment variable to ensure they are accessible by the Docker entrypoint command
511+
ENV PATH="${USER_HOME}:${PATH}"
512+
513+
# default entry point to automatically configure and start the Ultimate WebBackend product
511514
ENTRYPOINT ["dockerize", "-template", "web.config.properties.tpl:web.config.properties", \
512515
"-template", "WebBackend.ini.tpl:WebBackend.ini", \
513516
"WebBackend"]

packaging/docker/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ services:
3434
ULTIMATE_FRONTEND_DEBUG: "${ULTIMATE_FRONTEND_DEBUG-false}"
3535
ULTIMATE_FRONTEND_MSG_ORIENTATION: "${ULTIMATE_FRONTEND_MSG_ORIENTATION-left}"
3636
ULTIMATE_FRONTEND_PROTOCOL: "${ULTIMATE_FRONTEND_PROTOCOL-http}"
37-
ULTIMATE_FRONTEND_HOST: "${ULTIMATE_FRONTEND_HOST-localhost}"
37+
ULTIMATE_FRONTEND_HOST: "${ULTIMATE_FRONTEND_HOST-0.0.0.0}"
3838
ULTIMATE_FRONTEND_PORT: ${ULTIMATE_FRONTEND_PORT-80}
3939
ULTIMATE_FRONTEND_ROUTE: "${ULTIMATE_FRONTEND_ROUTE-/website}"
4040
ULTIMATE_BACKEND_PROTOCOL: "${ULTIMATE_BACKEND_PROTOCOL-http}"
4141
ULTIMATE_BACKEND_HOST: "${ULTIMATE_BACKEND_HOST-localhost}"
4242
ULTIMATE_BACKEND_PORT: "${ULTIMATE_BACKEND_PORT-8080}"
4343
ULTIMATE_BACKEND_ROUTE: "${ULTIMATE_BACKEND_ROUTE-/api}"
4444
ports:
45-
- "80:${ULTIMATE_FRONTEND_PORT-8080}"
45+
- "80:${ULTIMATE_FRONTEND_PORT-80}"
4646
restart: "unless-stopped"
4747
depends_on:
4848
ultimate-webbackend:

0 commit comments

Comments
 (0)