Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
richturner committed May 8, 2024
1 parent 0fbc61e commit 09848cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@ run_proxy() {
fi

cert_init&

log_info "Starting monitoring process"
monitor&

log_info "HAProxy starting"
exec su haproxy -s /bin/sh -c "$HAPROXY_CMD $HAPROXY_START_OPTIONS"
Expand Down Expand Up @@ -393,6 +390,9 @@ cert_init() {
log_info "HAProxy certs have been modified so restarting"
restart
fi

log_info "Starting monitoring process"
monitor
}

sync_haproxy() {
Expand Down
10 changes: 5 additions & 5 deletions haproxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ backend manager_backend
backend keycloak_backend
server keycloak "${KEYCLOAK_HOST}":"${KEYCLOAK_PORT}" resolvers docker_resolver

# Gateway tunnelling config
.if defined(SISH_HOST) && defined(SISH_PORT)
backend sish
server sish "${SISH_HOST}":"${SISH_PORT}" resolvers docker_resolver
.endif
# Gateway tunnelling config
.if defined(SISH_HOST) && defined(SISH_PORT)
backend sish
server sish "${SISH_HOST}":"${SISH_PORT}" resolvers docker_resolver
.endif

0 comments on commit 09848cd

Please sign in to comment.