Skip to content

Commit ac314fc

Browse files
committed
TFP-6412: Bytter til DB_ prefix i db konfig overalt.
1 parent 4b00414 commit ac314fc

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

resources/pipeline/compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,7 @@ services:
685685
container_name: fpsoknad
686686
mem_limit: 512mb
687687
environment:
688+
NAIS_APP_NAME: fpsoknad
688689
DOKGEN_REST_BASE_URL: http://fpdokgen:8080
689690
KRYPTERING_PASSWORD: testnokkelforvtp
690691
env_file:

resources/pipeline/fpoversikt_datasource.env

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ NAIS_DATABASE_FPOVERSIKT_FPOVERSIKT_PORT=5999
33
NAIS_DATABASE_FPOVERSIKT_FPOVERSIKT_DATABASE=fpoversikt
44
NAIS_DATABASE_FPOVERSIKT_FPOVERSIKT_USERNAME=fpoversikt
55
NAIS_DATABASE_FPOVERSIKT_FPOVERSIKT_PASSWORD=fpoversikt
6+
7+
DB_JDBC_URL=jdbc:postgresql://postgres:5999/fpoversikt?reWriteBatchedInserts=true
8+
DB_USERNAME=fpoversikt
9+
DB_PASSWORD=fpoversikt
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
APP_NAME=fpsoknad
2-
NAIS_APP_NAME=fpsoknad
3-
41
NAIS_DATABASE_FPSOKNAD_FPSOKNAD_JDBC_URL=jdbc:postgresql://postgres:5999/fpsoknad?password=fpsoknad&user=fpsoknad
2+
3+
DB_JDBC_URL=jdbc:postgresql://postgres:5999/fpsoknad?reWriteBatchedInserts=true
4+
DB_USERNAME=fpsoknad
5+
DB_PASSWORD=fpsoknad

0 commit comments

Comments
 (0)