Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rails 8 test2 #515

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Prev Previous commit
add custom port
celuchmarek committed Dec 9, 2024
commit b65bd8ddcb7f4d6775f5dfeca5c8961b6daa0c82
6 changes: 3 additions & 3 deletions .gitlab/auto-deploy-values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
timeout: 120
service:
externalPort: 80
internalPort: 80
externalPort: 5000
internalPort: 5000
image:
secrets:
- name: skdigital-bonet-registry
@@ -37,7 +37,7 @@ persistence:
workers:
worker:
replicaCount: "1"
command: ["bundle", "exec", "good_job", "start"]
command: ["bundle", "exec", "good_job", "start", "--probe-port=5000"]
startupProbe:
probeType: "httpGet"
path: "/status/started"
6 changes: 3 additions & 3 deletions .gitlab/prod-auto-deploy-values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
timeout: 120
service:
externalPort: 80
internalPort: 80
externalPort: 5000
internalPort: 5000
image:
secrets:
- name: skdigital-bonet-registry
@@ -37,7 +37,7 @@ persistence:
workers:
worker:
replicaCount: "1"
command: ["bundle", "exec", "good_job", "start"]
command: ["bundle", "exec", "good_job", "start", "--probe-port=5000"]
startupProbe:
probeType: "httpGet"
path: "/status/started"
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -94,5 +94,6 @@ USER 1000:1000
ENTRYPOINT ["/rails/bin/docker-entrypoint"]

# Start server via Thruster by default, this can be overwritten at runtime
EXPOSE 80
EXPOSE 5000
ENV HTTP_PORT=5000
CMD ["./bin/thrust", "./bin/rails", "server"]