# documentation: https://www.rivet.dev/docs
# slogan: Open-source visual AI programming environment for building AI agents with LLMs
# category: ai
# tags: ai, visual programming, llm, chatbot, agent, postgresql
# logo: svgs/rivet.svg
# port: 6420
services:
rivet-engine:
image: rivetkit/engine:25.8.0
environment:
- SERVICE_URL_RIVET_6420
- RIVET__POSTGRES__URL=postgresql://$SERVICE_USER_POSTGRESQL:$SERVICE_PASSWORD_POSTGRESQL@postgresql:5432/${POSTGRESQL_DATABASE-rivet}
- RIVET__FILE_SYSTEM__PATH=/data
volumes:
- rivet-data:/data
depends_on:
postgresql:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://127.0.0.1:6420/health || exit 1"]
interval: 5s
timeout: 20s
retries: 10
postgresql:
image: postgres:15-alpine
volumes:
- rivet-postgresql-data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=${SERVICE_USER_POSTGRESQL}
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRESQL}
- POSTGRES_DB=${POSTGRESQL_DATABASE-rivet}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
interval: 5s
timeout: 20s
retries: 10
# documentation: https://www.rivet.dev/docs
# slogan: Open-source visual AI programming environment for building AI agents with LLMs
# category: ai
# tags: ai, visual programming, llm, chatbot, agent, postgresql
# logo: svgs/rivet.svg
# port: 6420
services:
rivet-engine:
image: rivetkit/engine:25.8.0
environment:
- SERVICE_URL_RIVET_6420
- RIVET__POSTGRES__URL=postgresql://$SERVICE_USER_POSTGRESQL:$SERVICE_PASSWORD_POSTGRESQL@postgresql:5432/${POSTGRESQL_DATABASE-rivet}
- RIVET__FILE_SYSTEM__PATH=/data
volumes:
- rivet-data:/data
depends_on:
postgresql:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://127.0.0.1:6420/health || exit 1"]
interval: 5s
timeout: 20s
retries: 10
postgresql:
image: postgres:15-alpine
volumes:
- rivet-postgresql-data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=${SERVICE_USER_POSTGRESQL}
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRESQL}
- POSTGRES_DB=${POSTGRESQL_DATABASE-rivet}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
interval: 5s
timeout: 20s
retries: 10