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

Update jbpm-full-postgres.yml #118

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
30 changes: 21 additions & 9 deletions docker-compose-examples/jbpm-full-postgres.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
version: '2'

volumes:
postgres_data:
driver: local
version: '3.9'

services:
postgres:
image: postgres:9.6
image: postgres
restart: always
# set shared memory limit when using docker-compose
shm_size: 128mb
# or set shared memory limit when deploy via swarm stack
#volumes:
# - type: tmpfs
# target: /dev/shm
# tmpfs:
# size: 134217728 # 128*2^20 bytes = 128Mb
ports:
- 5432:5432
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: jbpm
POSTGRES_USER: jbpm
POSTGRES_PASSWORD: jbpm
POSTGRES_USER: jbpm
POSTGRES_DB: jbpm

jbpm:
image: jboss/jbpm-server-full
environment:
Expand All @@ -22,4 +30,8 @@ services:
- 8080:8080
- 8001:8001
depends_on:
- postgres
- postgres

volumes:
postgres_data:
driver: local