-
Notifications
You must be signed in to change notification settings - Fork 31
/
.env.example
66 lines (51 loc) · 1.95 KB
/
.env.example
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
## PLATFORM SECRETS
JWT_SECRET=changeMeSecret
INTERNAL_API_SECRET=changeMeSecret
SECRETS_CRYPT_KEY=00000000000000000000000000000000
## Billing
METEROID_API_LISTEN_ADDRESS=0.0.0.0:50061
METEROID_API_EXTERNAL_URL=http://127.0.0.1:50061
INVOICING_WEBHOOK_LISTEN_ADDRESS=0.0.0.0:8084
OPENEXCHANGERATES_API_KEY=
## Metering
METERING_API_LISTEN_ADDRESS=0.0.0.0:50062
METERING_API_EXTERNAL_URL=http://127.0.0.1:50062
KAFKA_TOPIC=meteroid-events-raw
## Database (postgres)
DATABASE_USER=meteroid
DATABASE_PASSWORD=secret
DATABASE_NAME=meteroid
DATABASE_URL=postgres://${DATABASE_USER}:${DATABASE_PASSWORD}@localhost:5432/${DATABASE_NAME}?sslmode=disable
## Web front
VITE_METEROID_API_EXTERNAL_URL=${METEROID_API_EXTERNAL_URL}
## Kafka
KAFKA_BOOTSTRAP_SERVERS=127.0.0.1:9092
KAFKA_SASL_USERNAME=
KAFKA_SASL_PASSWORD=
KAFKA_SASL_JAAS_CONFIG=
KAFKA_SECURITY_PROTOCOL=
KAFKA_SASL_MECHANISM=
## Clickhouse
CLICKHOUSE_DATABASE=meteroid
CLICKHOUSE_ADDRESS=tcp://127.0.0.1:9000
CLICKHOUSE_USERNAME=default
CLICKHOUSE_PASSWORD=default
## Telemetry related
TELEMETRY_TRACING_ENABLED=false
TELEMETRY_METRICS_ENABLED=false
TELEMETRY_OTEL_ENDPOINT=http://localhost:4317
## Development only
DEBUG=false
# Use filesystem-based object store
# OBJECT_STORE_URI=file:///tmp/meteroid/object-store
# Use S3-based object store (works with MinIO and AWS S3, and requires setting the envs for aws auth key chain correctly)
OBJECT_STORE_URI=s3://meteroid
AWS_ALLOW_HTTP=true
AWS_ENDPOINT=http://localhost:9002
AWS_ACCESS_KEY_ID=meteroid
AWS_SECRET_ACCESS_KEY=meteroid
GOTENBERG_URL=http://localhost:8073
SVIX_SERVER_URL=http://localhost:8071
SVIX_JWT_SECRET=changeMeSecret
## can be generated by running `svix-server jwt generate` inside the svix-server container
SVIX_JWT_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MzI2NDI3NzcsImV4cCI6MjA0ODAwMjc3NywibmJmIjoxNzMyNjQyNzc3LCJpc3MiOiJzdml4LXNlcnZlciIsInN1YiI6Im9yZ18yM3JiOFlkR3FNVDBxSXpwZ0d3ZFhmSGlyTXUifQ.Cgup0diZA3jtBjUzGCPy-h7ZKfT2U-cIax4vCf9-2vk