Skip to content

Commit

Permalink
chore: legacydb test
Browse files Browse the repository at this point in the history
  • Loading branch information
paulushcgcj committed Aug 27, 2024
1 parent 1b84365 commit 5dbf49a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions legacydb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ FROM gvenzl/oracle-free:23.3-slim-faststart

USER root
RUN usermod -u 1011270000 oracle
RUN chmod -R 777 "${ORACLE_BASE}"
#RUN chmod -R 777 "${ORACLE_BASE}"
USER oracle

HEALTHCHECK CMD "${ORACLE_BASE}"/healthcheck.sh >/dev/null || exit 1
HEALTHCHECK CMD "${ORACLE_BASE}"/healthcheck.sh >/dev/null || exit 1

ENTRYPOINT ["container-entrypoint.sh"]
10 changes: 5 additions & 5 deletions legacydb/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ parameters:
description: Oracle database password with write permission
required: true
- name: CPU_REQUEST
value: 500m
value: 125m
- name: CPU_LIMIT
value: "1"
value: 500m
- name: MEMORY_REQUEST
value: 2Gi
value: 1Gi
- name: MEMORY_LIMIT
value: 2Gi
objects:
Expand Down Expand Up @@ -140,15 +140,15 @@ objects:
command:
- healthcheck.sh
failureThreshold: 30
initialDelaySeconds: 120
initialDelaySeconds: 240
periodSeconds: 30
timeoutSeconds: 5
livenessProbe:
exec:
command:
- healthcheck.sh
failureThreshold: 30
initialDelaySeconds: 130
initialDelaySeconds: 250
periodSeconds: 30
timeoutSeconds: 5
env:
Expand Down

0 comments on commit 5dbf49a

Please sign in to comment.