services: db: image: supabase/postgres:14.1.0.105 container_name: realtime-db ports: - "5432:5432" volumes: - ./dev/postgres:/docker-entrypoint-initdb.d/ command: postgres -c config_file=/etc/postgresql/postgresql.conf environment: POSTGRES_HOST: /var/run/postgresql POSTGRES_PASSWORD: postgres tenant_db: image: supabase/postgres:14.1.0.105 container_name: tenant-db ports: - "5433:5432" command: postgres -c config_file=/etc/postgresql/postgresql.conf environment: POSTGRES_HOST: /var/run/postgresql POSTGRES_PASSWORD: postgres realtime: depends_on: - db build: . container_name: realtime-server ports: - "4000:4000" extra_hosts: - "host.docker.internal:host-gateway" environment: PORT: 4000 DB_HOST: host.docker.internal DB_PORT: 5432 DB_USER: postgres DB_PASSWORD: postgres DB_NAME: postgres DB_ENC_KEY: supabaserealtime DB_AFTER_CONNECT_QUERY: 'SET search_path TO _realtime' API_JWT_SECRET: dc447559-996d-4761-a306-f47a5eab1623 SECRET_KEY_BASE: UpNVntn3cDxHJpq99YMc1T1AQgQpc8kfYTuRgBiYa15BLrx8etQoXz3gZv1/u2oq ERL_AFLAGS: -proto_dist inet_tcp RLIMIT_NOFILE: 1000000 DNS_NODES: "''" APP_NAME: realtime RUN_JANITOR: true JANITOR_INTERVAL: 60000 LOG_LEVEL: "info" SEED_SELF_HOST: true