-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.env.docker-compose.dev
More file actions
58 lines (48 loc) · 1.61 KB
/
.env.docker-compose.dev
File metadata and controls
58 lines (48 loc) · 1.61 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# garage admin token for init script
GARAGE_ADMIN_TOKEN=dev_admin_token
S3_BUCKET_NAME=assets.pubstar.org
S3_ACCESS_KEY=pubstaruser
S3_SECRET_KEY=pubstarpass
S3_REGION=us-east-1
# internal endpoint used by backend services running in Docker
S3_ENDPOINT=http://minio:9000
# public endpoint used for signed URLs accessible from browsers
S3_PUBLIC_ENDPOINT=http://localhost:9000
MINIO_ROOT_USER=pubstar-admin
MINIO_ROOT_PASSWORD=pubstar-admin
S3_BACKUP_BUCKET=backups.pubstar.org
S3_BACKUP_ACCESS_KEY=pubstarbackupuser
S3_BACKUP_SECRET_KEY=pubstarbackuppass
S3_BACKUP_REGION=us-east-1
S3_BACKUP_ENDPOINT=http://minio:9000
S3_BACKUP_KEY_PREFIX=pg-backups
POSTGRES_PORT=54322
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=postgres
VALKEY_HOST='cache'
SITE_BUILDER_ENDPOINT=http://localhost:4000
# annoying duplication because jobs uses this version
PGHOST=db
PGPORT=5432
PGUSER=postgres
PGPASSWORD=postgres
PGDATABASE=postgres
# this needs to be db:5432 bc that's what it is in the app-network
# if you are running this from outside the docker network, you need to use
# @localhost:${POSTGRES_PORT} instead
DATABASE_URL=postgresql://postgres:postgres@db:5432/postgres
JWT_SECRET=xxx
SMTP_PASSWORD=xxx
SMTP_USERNAME=omitted
SMTP_HOST=inbucket
SMTP_PORT=2500
SMTP_FROM=dev@pubstar.org
SMTP_FROM_NAME=Pubstar Team
GCLOUD_KEY_FILE=xxx
# this needs to be localhost:54324 instead of inbucket:9000 bc we are almost always running the integration tests from outside the docker network
INBUCKET_URL=http://localhost:54324
OTEL_SERVICE_NAME=core.core
PUBSTAR_HOSTNAME=http://localhost:3000
PUBSTAR_URL=http://localhost:3000
API_KEY=xxx