Skip to main content

All-in-one Docker Compose

The following is an template for an all-in-one docker-compose.yml file that sets up a development environment with all the services required to run the Business Studio, Business Connector, and Workflow Engine.

See the full One37 Platform Installation Guide for more detailed information on the services and their dependencies and configuration parameters.

[!important] Take note to replace fields encloased in [ ] with the appropriate values, especially thos concerning the additional required environment variables for each service.

### All-in-one Docker Setup
```yaml
services:
postgres:
container_name: postgres
image: postgres:14-alpine
ports:
- '5432:5432'
environment:
- POSTGRES_PASSWORD=[password]
- POSTGRES_USER=[user]
volumes:
- pgdata:/var/lib/postgresql/data

redis:
container_name: redis
image: 'bitnami/redis:latest'
ports:
- '6379:6379'
environment:
- REDIS_PASSWORD=[redis_password]
volumes:
- redisdata:/bitnami/redis/data

studio:
container_name: studio
image: [registry]/studiofe/prod:latest
ports:
- '8084:8084'
environment:
- STUDIO_PG_HOST=postgres
- STUDIO_PG_PORT=5432
[Additional env vars from above]

business-connector:
container_name: bc
image: [registry]/business-connector:latest
ports:
- '5000:5000'
environment:
- NODE_ENV=production
- PG_HOST=postgres
[Additional env vars from above]

workflow-engine:
container_name: workflow
image: [registry]/workflow-engine:latest
ports:
- '7500:7500'
environment:
- PG_HOST=postgres
[Additional env vars from above]

volumes:
pgdata:
redisdata:
X

Graph View