WorkflowGen PostgreSQL 17 database with pgvector. Production-ready Linux & Windows. For v10+.
2.2K
Production-ready PostgreSQL 17 database image for WorkflowGen v10+ with pgvector extension for AI and semantic search capabilities.
Linux (Debian Bookworm), Windows Server 2022 LTSC, and Windows Server 2019 LTSC containers are fully supported for production use with WorkflowGen v10+.
This is currently the recommended production database for WorkflowGen v10 deployments.
pg_isreadywfgen_pguser)Create a database.env file:
PGDATA=/var/lib/postgresql/data
POSTGRES_INITDB_ARGS=--username=postgres
POSTGRES_PASSWORD=yourStrong(!)Password
WFGEN_DATABASE_USER_PASSWORD=myDbPassword
WFGEN_ADMIN_PASSWORD=adminPassword
Run the container:
docker container run -d \
--env-file ./database.env \
--mount "type=volume,src=pgdata,dst=/var/lib/postgresql/data" \
--name wfgen-postgres \
-p 5432:5432 \
advantys/workflowgen-postgres:10.4.0-postgres-debian-bookworm
Create a database.env file:
PGDATA=C:\pgsql\data
POSTGRES_INITDB_ARGS=--username=postgres
POSTGRES_PASSWORD=yourStrong(!)Password
WFGEN_DATABASE_USER_PASSWORD=myDbPassword
WFGEN_ADMIN_PASSWORD=adminPassword
Run the container:
docker container run -d `
--env-file .\database.env `
--mount "type=volume,src=pgdata,dst=C:\pgsql\data" `
--name wfgen-postgres `
-p 5432:5432 `
advantys/workflowgen-postgres:10.4.0-postgres-win-ltsc2022
For Windows Server 2019, use
advantys/workflowgen-postgres:10.4.0-postgres-win-ltsc2019.
docker logs -f wfgen-postgres
# Look for: "Workflowgen database is ready"
ltsc2019 image. Windows 10 does not support Windows Server 2022 container images.ltsc2022 images. Consult Microsoft's Windows container version compatibility matrix when the host and container versions differ.| Variable | Description |
|---|---|
POSTGRES_PASSWORD | PostgreSQL superuser password |
WFGEN_DATABASE_USER_PASSWORD | WorkflowGen database user password |
WFGEN_ADMIN_PASSWORD | WorkflowGen administrator password |
PGDATA | PostgreSQL data directory path |
POSTGRES_INITDB_ARGS | PostgreSQL initialization arguments |
Linux:
PGDATA=/var/lib/postgresql/data
POSTGRES_INITDB_ARGS=--username=postgres
Windows:
PGDATA=C:\pgsql\data
POSTGRES_INITDB_ARGS=--username=postgres
| Variable | Default | Description |
|---|---|---|
WFGEN_DATABASE_NAME | WFGEN | Database name (becomes wfgen in lowercase) |
WFGEN_DATABASE_USER_USERNAME | wfgen_user | Database user name |
WFGEN_ADMIN_USERNAME | wfgen_admin | WorkflowGen admin username |
WFGEN_AUTH_APPLICATION | Y | Enable applicative authentication |
Note: All environment variables support the _FILE suffix for Docker Secrets integration.
Mount /var/lib/postgresql/data to persist your PostgreSQL database:
# Named volume (recommended)
--mount "type=volume,src=pgdata,dst=/var/lib/postgresql/data"
# Or bind mount (if you need direct host access)
--mount "type=bind,src=/path/to/data,dst=/var/lib/postgresql/data"
Mount C:\pgsql\data to persist your PostgreSQL database:
# Named volume (recommended)
--mount "type=volume,src=pgdata,dst=C:\pgsql\data"
# Or bind mount (if you need direct host access)
--mount "type=bind,src=C:\path\to\data,dst=C:\pgsql\data"
For WorkflowGen application configuration:
Host=wfgen-postgres;Port=5432;Database=wfgen;Username=wfgen_user;Password=<password>
Note: Use
Host=for PostgreSQL/Npgsql connections (notServer=).
The container includes built-in health monitoring:
docker inspect --format='{{.State.Health.Status}}' wfgen-postgres
Status will be healthy when PostgreSQL is running and the WorkflowGen database is accessible.
The pgvector extension is pre-installed and automatically enabled in the WorkflowGen database during initialization.
Verify pgvector is available:
docker exec wfgen-postgres pwsh -Command "& psql -U postgres -d wfgen -c 'SELECT * FROM pg_extension WHERE extname = ''vector'';'"
This extension enables WorkflowGen v10+ AI features including:
Linux:
latest-linux - Latest stable Linux release; points to 10.4.0-postgres-debian-bookworm10.4.0-postgres-debian-bookworm - WorkflowGen v10.4.0 for Linux (Debian Bookworm)Windows:
latest-win-ltsc2022 - Latest stable Windows Server 2022 releaselatest-win-ltsc2019 - Latest stable Windows Server 2019 releasepostgres-latest - Compatibility alias for latest-win-ltsc201910.4.0-postgres-win-ltsc2022 - WorkflowGen v10.4.0 for Windows Server 2022 LTSC10.4.0-postgres-win-ltsc2019 - WorkflowGen v10.4.0 for Windows Server 2019 LTSCThe repository does not publish a plain latest tag. Select a platform-specific
floating tag or, preferably, an explicit version and platform tag.
Recommendation: Use specific version tags (e.g.,
10.4.0-postgres-debian-bookworm) for production deployments to ensure reproducibility.
| Platform | Status | Notes |
|---|---|---|
| Linux (Debian Bookworm) | ✅ Production-ready | Fully supported |
| Windows Server 2022 LTSC | ✅ Production-ready | Fully supported |
| Windows Server 2019 LTSC | ✅ Production-ready | Fully supported |
For production deployments, use Docker Secrets or Kubernetes Secrets by appending _FILE to environment variable names:
# Create secrets
echo "yourStrong(!)Password" | docker secret create postgres_password -
echo "myDbPassword" | docker secret create wfgen_db_password -
echo "adminPassword" | docker secret create wfgen_admin_password -
# Create service with secrets
docker service create \
--name wfgen-postgres \
--secret postgres_password \
--secret wfgen_db_password \
--secret wfgen_admin_password \
-e POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password \
-e WFGEN_DATABASE_USER_PASSWORD_FILE=/run/secrets/wfgen_db_password \
-e WFGEN_ADMIN_PASSWORD_FILE=/run/secrets/wfgen_admin_password \
advantys/workflowgen-postgres:10.4.0-postgres-debian-bookworm
# Create secrets
"yourStrong(!)Password" | docker secret create postgres_password -
"myDbPassword" | docker secret create wfgen_db_password -
"adminPassword" | docker secret create wfgen_admin_password -
# Create service with secrets
docker service create `
--name wfgen-postgres `
--secret postgres_password `
--secret wfgen_db_password `
--secret wfgen_admin_password `
-e POSTGRES_PASSWORD_FILE=C:\ProgramData\Docker\secrets\postgres_password `
-e WFGEN_DATABASE_USER_PASSWORD_FILE=C:\ProgramData\Docker\secrets\wfgen_db_password `
-e WFGEN_ADMIN_PASSWORD_FILE=C:\ProgramData\Docker\secrets\wfgen_admin_password `
advantys/workflowgen-postgres:10.4.0-postgres-win-ltsc2022
docker logs wfgen-postgres
Using PowerShell (works on both Linux and Windows):
docker exec -it wfgen-postgres pwsh -Command "& psql -U postgres -d wfgen"
Using bash (Linux only):
docker exec -it wfgen-postgres bash -c "psql -U postgres -d wfgen"
# Verify tables were created
docker exec wfgen-postgres pwsh -Command "& psql -U postgres -d wfgen -c 'SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = ''public'';'"
# Should return: 55
docker exec wfgen-postgres pwsh -Command "& psql -U postgres -d wfgen -c 'SELECT USERNAME FROM USERS WHERE ID_USER = 1;'"
For technical support and questions:
This image includes:
See the WorkflowGen EULA for terms of use.
Content type
Image
Digest
sha256:4e5f5fc84…
Size
2.4 GB
Last updated
15 days ago
docker pull advantys/workflowgen-postgres:latest-win-ltsc2022