mirror of https://github.com/buster-so/buster.git
12 lines
520 B
YAML
12 lines
520 B
YAML
services:
|
|
electric:
|
|
image: electricsql/electric
|
|
ports:
|
|
- "3003:3003" # Expose Electric's HTTP API on port 3003 instead of 3000
|
|
environment:
|
|
DATABASE_URL: "postgresql://postgres:postgres@host.docker.internal:54322/postgres?sslmode=disable"
|
|
ELECTRIC_INSECURE: ${ELECTRIC_INSECURE:-false}
|
|
ELECTRIC_PROXY_URL: ${ELECTRIC_PROXY_URL:-http://localhost:3003}
|
|
ELECTRIC_PORT: ${ELECTRIC_PORT:-3003}
|
|
ELECTRIC_SECRET: ${ELECTRIC_SECRET:-my-little-buttercup-has-the-sweetest-smile}
|