Persistent Database
Docker Compose Configuration
services:
postgres:
image: postgres:latest
command: -c 'max_connections=2000'
environment:
POSTGRES_USER: elsa
POSTGRES_PASSWORD: elsa
POSTGRES_DB: elsa
volumes:
- postgres-data:/var/lib/postgresql/data
ports:
- "5432:5432"
elsa-server-and-studio:
image: elsaworkflows/elsa-server-and-studio-v3-5:latest
pull_policy: always
environment:
ASPNETCORE_ENVIRONMENT: Development
HTTP_PORTS: 8080
HTTP__BASEURL: http://localhost:14000
DATABASEPROVIDER: PostgreSql
CONNECTIONSTRINGS__POSTGRESQL: Server=postgres;Username=elsa;Database=elsa;Port=5432;Password=elsa;SSLMode=Prefer;MaxPoolSize=2000;Timeout=60
ports:
- "14000:8080"
depends_on:
- postgres
volumes:
postgres-data:Configuration Details
Supported Database Providers
Running the Services
See Also
Last updated