generated from ministryofjustice/hmpps-template-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PRC-430: Evolve template to use as basis for new API and trial deploy…
…ment (#1) * PRC-430: Evolve template to use as basis for new API and trial deployment * PRC-430: Adding PGSQL test containers * PRC-430: Tidying small copy errors * PRC-430: Updated for client creds secret name - to match expectation
- Loading branch information
1 parent
7d737b8
commit d7a7296
Showing
27 changed files
with
319 additions
and
580 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,8 @@ | |
.kotlin/ | ||
build/ | ||
|
||
.env | ||
|
||
# CMake | ||
cmake-build-debug/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,17 @@ | ||
version: "3" | ||
services: | ||
hmpps-organisations-api: | ||
build: | ||
context: . | ||
db: | ||
image: postgres:latest | ||
networks: | ||
- hmpps | ||
container_name: hmpps-organisations-api | ||
- hmpps | ||
container_name: organisations-db | ||
restart: always | ||
ports: | ||
- "8080:8080" | ||
healthcheck: | ||
test: ["CMD", "curl", "-f", "http://localhost:8080/health/ping"] | ||
- "5432:5432" | ||
environment: | ||
- SERVER_PORT=8080 | ||
- HMPPS_AUTH_URL=http://hmpps-auth:8080/auth | ||
# TODO: Remove this URL and replace with outgoing service URLs | ||
- EXAMPLE_URL=http://hmpps-organisations-api:8080 | ||
- SPRING_PROFILES_ACTIVE=dev | ||
|
||
hmpps-auth: | ||
image: quay.io/hmpps/hmpps-auth:latest | ||
networks: | ||
- hmpps | ||
container_name: hmpps-auth | ||
ports: | ||
- "8090:8080" | ||
healthcheck: | ||
test: ["CMD", "curl", "-f", "http://localhost:8080/auth/health"] | ||
environment: | ||
- SERVER_PORT=8080 | ||
- SPRING_PROFILES_ACTIVE=dev | ||
- APPLICATION_AUTHENTICATION_UI_ALLOWLIST=0.0.0.0/0 | ||
POSTGRES_DB: organisations-db | ||
POSTGRES_USER: organisations | ||
POSTGRES_PASSWORD: organisations | ||
|
||
networks: | ||
hmpps: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.