Skip to content

Instantly share code, notes, and snippets.

@jrop
Created October 9, 2018 19:55
Show Gist options
  • Save jrop/66ae4a76e1f8329ca805f7de4bc86c5a to your computer and use it in GitHub Desktop.
Save jrop/66ae4a76e1f8329ca805f7de4bc86c5a to your computer and use it in GitHub Desktop.
Flowable (Docker)
version: '3.6'
services:
flowable-all-in-one:
image: flowable/all-in-one
depends_on:
- flowable-db
environment:
- SERVER_PORT=9977
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=org.postgresql.Driver
- 'SPRING_DATASOURCE_URL=jdbc:postgresql://flowable-db:5432/flowable'
- SPRING_DATASOURCE_USERNAME=flowable
- SPRING_DATASOURCE_PASSWORD=flowable
ports:
- '8080:8080'
entrypoint:
- /wait-for-something.sh
- flowable-db
- '5432'
- PostgreSQL
- /opt/tomcat/bin/catalina.sh
- run
flowable-db:
image: 'postgres:9.6-alpine'
volumes:
- '~/.flowable/all-in-one/postgres:/var/lib/postgresql/data'
environment:
- POSTGRES_PASSWORD=flowable
- POSTGRES_USER=flowable
- POSTGRES_DB=flowable
ports:
- '5433:5432'
command: postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment