2024-10-14 13:21:41 +00:00
# ignore: true
2024-04-23 17:59:16 +00:00
# documentation: https://www.edgedb.com
# slogan: An open-source database designed as a spiritual successor to SQL and the relational paradigm. Powered by the Postgres query engine under the hood.
2025-08-17 16:23:57 +00:00
# category: database
# tags: db, database, sql
2024-04-23 17:59:16 +00:00
# logo: svgs/edgedb.svg
2024-04-23 18:08:08 +00:00
# port: 5656
2024-04-23 17:59:16 +00:00
services :
edgedb :
image : edgedb/edgedb
environment :
2025-08-10 08:10:22 +00:00
- SERVICE_URL_EDGEDB_5656
2024-04-23 17:59:16 +00:00
- EDGEDB_SERVER_ADMIN_UI=${EDGEDB_SERVER_ADMIN_UI:-enabled}
2024-10-14 13:21:41 +00:00
- EDGEDB_SERVER_BACKEND_DSN=postgres://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgresql:5432/${POSTGRES_DB:-edgedb}
- EDGEDB_SERVER_SECURITY=${EDGEDB_SERVER_SECURITY:-strict}
- EDGEDB_SERVER_PASSWORD=${SERVICE_PASSWORD_EDGEDB}
2024-04-23 17:59:16 +00:00
- POSTGRES_DB=${POSTGRES_DB:-edgedb}
depends_on :
postgresql :
condition : service_healthy
volumes :
2024-10-14 13:21:41 +00:00
- edgedb-data:/dbschema
2024-04-23 17:59:16 +00:00
healthcheck :
test : [ "CMD" , "curl" , "-f" , "http://localhost:5656/server/status/alive" ]
interval : 5s
timeout : 20s
retries : 10
2024-10-14 13:21:41 +00:00
2024-04-23 17:59:16 +00:00
postgresql :
image : postgres:16-alpine
volumes :
2024-10-14 13:21:41 +00:00
- edgedb-postgresql-data:/var/lib/postgresql/data
2024-04-23 17:59:16 +00:00
environment :
2024-10-14 13:21:41 +00:00
- POSTGRES_USER=${SERVICE_USER_POSTGRES}
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
2024-04-23 17:59:16 +00:00
- POSTGRES_DB=${POSTGRES_DB:-edgedb}
healthcheck :
test : [ "CMD-SHELL" , "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}" ]
interval : 5s
timeout : 20s
2024-10-14 13:21:41 +00:00
retries : 10