-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
42 lines (35 loc) · 1.44 KB
/
Copy path.env.example
File metadata and controls
42 lines (35 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Server Configuration
HOST=0.0.0.0
PORT=8000
PEER_ID=00000000-0000-4000-8000-000000000002
PEER_NAME=core-py-development
# JWT Authentication (Required)
JWT_SECRET=replace-with-at-least-32-random-bytes
# Database lifecycle authority. Compose uses the PostgreSQL owner only in its
# one-shot init service and gives the application a separate runtime URL.
MIGRATION_DATABASE_URL=postgresql+psycopg://postgres:postgres@localhost:5432/inkcre
CORE_DATABASE_PASSWORD=replace-with-at-least-32-random-bytes
POSTGREST_DATABASE_PASSWORD=replace-with-at-least-32-random-bytes
# Native peer runtime authority. Never use a provider owner here.
DATABASE_URL=postgresql+psycopg://inkcre_core:replace-with-at-least-32-random-bytes@localhost:5432/inkcre
INKCRE_DATABASE_ENVIRONMENT=development
# Set `true` if your db will scale to 0 when idle
# This will disable listen to pgsql notifications and enable pool_pre_ping
DATABASE_SCALE_0=false
# Logging Configuration (Optional)
# postgresql, logtail
OBSRV__LOGGING_BACKEND=postgresql
# level lower than this will not be sent to backend
OBSRV__LOGGING_BACKEND_LEVEL=20
# Logtail As Logging Backend Configuration
OBSRV__LOGTAIL_SOURCE_TOKEN=your_token_here
OBSRV__LOGTAIL_HOST=https://in.logtail.com
# PostgreSQL Configuration (Docker Deployment)
POSTGRES_DB=inkcre
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGREST_PORT=3000
CORE_PORT=8000
INKCRE_COMPOSE_PROJECT_NAME=inkcre
# Flags
SKIP_EXTENSIONS_SYNC=0