diff --git a/.env.example b/.env.example index 268a453a1..8dca11ce6 100644 --- a/.env.example +++ b/.env.example @@ -9,8 +9,6 @@ FRONTEND_PORT=3000 NEXT_PUBLIC_FASTAPI_BACKEND_URL=http://localhost:8000 (Default: http://localhost:8000) NEXT_PUBLIC_FASTAPI_BACKEND_AUTH_TYPE=LOCAL or GOOGLE (Default: LOCAL) NEXT_PUBLIC_ETL_SERVICE=UNSTRUCTURED or LLAMACLOUD or DOCLING (Default: DOCLING) -NEXT_PUBLIC_ELECTRIC_URL=http://localhost:5133 - # Backend Configuration BACKEND_PORT=8000 @@ -29,6 +27,7 @@ ELECTRIC_PORT=5133 POSTGRES_HOST=db ELECTRIC_DB_USER=electric ELECTRIC_DB_PASSWORD=electric_password +NEXT_PUBLIC_ELECTRIC_URL=http://localhost:5133 # pgAdmin Configuration PGADMIN_PORT=5050 diff --git a/surfsense_web/content/docs/how-to/electric-sql.mdx b/surfsense_web/content/docs/how-to/electric-sql.mdx index 2dab8920d..da522c4c8 100644 --- a/surfsense_web/content/docs/how-to/electric-sql.mdx +++ b/surfsense_web/content/docs/how-to/electric-sql.mdx @@ -108,6 +108,7 @@ POSTGRES_DB=surfsense POSTGRES_HOST=db ELECTRIC_DB_USER=electric ELECTRIC_DB_PASSWORD=electric_password +NEXT_PUBLIC_ELECTRIC_URL=http://localhost:5133 ``` > **Note:** Set `POSTGRES_HOST=db` for Docker PostgreSQL, or `POSTGRES_HOST=host.docker.internal` for local PostgreSQL.