Skip to content

Commit

Permalink
Merge branch 'main' into SDCSRM-529-add-support-frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanks91 authored Jul 25, 2024
2 parents 4eaa10c + 4df751b commit 4cb7bb7
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,8 @@ RH_SERVICE_PORT=8071
# RH UI
RH_UI_PORT=9092

# Support API
SUPPORT_API_PORT=9095

# Support Front End
SUPPORT_FRONTEND_PORT=9096
23 changes: 22 additions & 1 deletion rm-services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,27 @@ services:
extra_hosts:
- "host.docker.internal:host-gateway"

support-api:
container_name: support-api
image: europe-west2-docker.pkg.dev/ssdc-rm-ci/docker/srm-support-api:latest
environment:
- APP_CONFIG=DevelopmentConfig
- PORT=${SUPPORT_API_PORT}
- POSTGRES_HOST=${POSTGRES_HOST}
- POSTGRES_PORT=${POSTGRES_PORT}
- POSTGRES_DB=${POSTGRES_DATABASE}
- POSTGRES_USER=${POSTGRES_USERNAME}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- SQLALCHEMY_DATABASE_URI=postgresql+psycopg2://${POSTGRES_USERNAME}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DATABASE}
ports:
- "${SUPPORT_API_PORT}:9095"
healthcheck:
test: [ "CMD", "python", "-c", "import urllib.request as r; r.urlopen('http://localhost:9095/info/')" ]
interval: 5s
timeout: 3s
retries: 20
start_period: 5s

support-frontend:
container_name: support-frontend
image: europe-west2-docker.pkg.dev/ssdc-rm-ci/docker/srm-support-frontend:latest
Expand All @@ -303,7 +324,7 @@ services:
timeout: 3s
retries: 20
start_period: 5s

networks:
default:
external: true
Expand Down

0 comments on commit 4cb7bb7

Please sign in to comment.