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

HCX-124 Set default value for idle_in_transaction_session_timeout PG … #518

Merged
merged 1 commit into from
Nov 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ BPM_DB_PATH=/var/lib/postgresql/data
BPM_DB_NAME=camunda
BPM_DB_USER=camunda
BPM_DB_PASSWORD=camunda
BPM_DB_IDLE_SESSION_TIMEOUT=300000

REDIS_URL=redis://redis

Expand Down
9 changes: 7 additions & 2 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ services:
image: postgres:9.6
hostname: postgres-camunda
container_name: postgres-camunda
command: postgres -c idle_in_transaction_session_timeout=$BPM_DB_IDLE_SESSION_TIMEOUT
restart: always
env_file:
- ".env"
environment:
PGDATA: $BPM_DB_PATH/camunda
PGDATA: $BPM_DB_PATH
POSTGRES_DB: $BPM_DB_NAME
POSTGRES_USER: $BPM_DB_USER
POSTGRES_PASSWORD: $BPM_DB_PASSWORD
Expand All @@ -22,8 +25,10 @@ services:
hostname: postgres-homs
container_name: postgres-homs
restart: always
env_file:
- ".env"
environment:
PGDATA: $HOMS_DB_PATH/homs
PGDATA: $HOMS_DB_PATH
POSTGRES_DB: $HOMS_DB_NAME
POSTGRES_USER: $HOMS_DB_USER
POSTGRES_PASSWORD: $HOMS_DB_PASSWORD
Expand Down
9 changes: 7 additions & 2 deletions docker-compose.oracle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ services:
image: postgres:9.6
hostname: postgres-camunda
container_name: postgres-camunda
command: postgres -c idle_in_transaction_session_timeout=$BPM_DB_IDLE_SESSION_TIMEOUT
restart: always
env_file:
- ".env"
environment:
PGDATA: $BPM_DB_PATH/camunda
PGDATA: $BPM_DB_PATH
POSTGRES_DB: $BPM_DB_NAME
POSTGRES_USER: $BPM_DB_USER
POSTGRES_PASSWORD: $BPM_DB_PASSWORD
Expand All @@ -22,8 +25,10 @@ services:
hostname: postgres-homs
container_name: postgres-homs
restart: always
env_file:
- ".env"
environment:
PGDATA: $HOMS_DB_PATH/homs
PGDATA: $HOMS_DB_PATH
POSTGRES_DB: $HOMS_DB_NAME
POSTGRES_USER: $HOMS_DB_USER
POSTGRES_PASSWORD: $HOMS_DB_PASSWORD
Expand Down
4 changes: 3 additions & 1 deletion docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ services:
image: postgres:11.0
hostname: postgres-homs
container_name: postgres-homs
env_file:
- ".env"
environment:
PGDATA: $HOMS_DB_PATH/homs
PGDATA: $HOMS_DB_PATH
POSTGRES_DB: $HOMS_DB_NAME
POSTGRES_USER: $HOMS_DB_USER
POSTGRES_PASSWORD: $HOMS_DB_PASSWORD
Expand Down
9 changes: 7 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ services:
image: postgres:9.6
hostname: postgres-camunda
container_name: postgres-camunda
command: postgres -c idle_in_transaction_session_timeout=$BPM_DB_IDLE_SESSION_TIMEOUT
restart: always
env_file:
- ".env"
environment:
PGDATA: $BPM_DB_PATH/camunda
PGDATA: $BPM_DB_PATH
POSTGRES_DB: $BPM_DB_NAME
POSTGRES_USER: $BPM_DB_USER
POSTGRES_PASSWORD: $BPM_DB_PASSWORD
Expand All @@ -22,8 +25,10 @@ services:
hostname: postgres-homs
restart: always
container_name: postgres-homs
env_file:
- ".env"
environment:
PGDATA: $HOMS_DB_PATH/homs
PGDATA: $HOMS_DB_PATH
POSTGRES_DB: $HOMS_DB_NAME
POSTGRES_USER: $HOMS_DB_USER
POSTGRES_PASSWORD: $HOMS_DB_PASSWORD
Expand Down