Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
50 lines (43 loc) · 1.66 KB
/
Copy path.env.example
File metadata and controls
50 lines (43 loc) · 1.66 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
DATABASE_URL=postgres://postgres:develop@localhost:5432/postgres
# or
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_USER=postgres
DATABASE_PASSWORD=develop
DATABASE_NAME=postgres
HYDRA_ISSUER_URL=http://localhost:4444/
HYDRA_ADMIN_URL=http://localhost:4445/
KRATOS_PUBLIC_URL=http://localhost:4433/
EXPECTED_AUDIENCE=account
KETO_READ_URL=http://localhost:4466
KETO_WRITE_URL=http://localhost:4467
REDIS_URL=redis://localhost:6379
# or
REDIS_HOST=localhost
WORKER_ID=0
CORS_ALLOWED_ORIGINS=*
# Required when running with test-mode feature:
# EMUMET_TEST_MODE_TOKEN=your-test-token
PUBLIC_BASE_URL=http://localhost:8080
S3_ENDPOINT=http://localhost:9000
S3_REGION=us-east-1
S3_BUCKET=emumet-media
S3_ACCESS_KEY=emumetdevelop
S3_SECRET_KEY=emumet-develop-secret
MEDIA_PUBLIC_BASE_URL=http://localhost:9000/emumet-media
#
# For AP E2E tests (with compose.ap-e2e.yml nginx proxy):
# PUBLIC_BASE_URL=https://emumet.127.0.0.1.nip.io
# PEER_BASE_URL=https://peer.127.0.0.1.nip.io:8443
#
# For AP E2E compose environment:
# Set these when running with compose.ap-e2e.yml
# The server API goes through direct HTTP to avoid nginx proxy issues,
# while the public URL is used for ActivityPub ID generation and signing.
# EMUMET_E2E_SERVER_BASE_URL=http://localhost:8080
# EMUMET_E2E_PUBLIC_BASE_URL=https://emumet.127.0.0.1.nip.io
# PUBLIC_BASE_URL=${EMUMET_E2E_PUBLIC_BASE_URL}
# EMUMET_E2E_EXTERNAL_SERVER=1
# AP_TEST_ALLOWED_FETCH_HOSTS=127.0.0.1,iceshrimp.127.0.0.1.nip.io # Allowlisted hosts for test-mode AP fetches
# AP_TEST_ACCEPT_INVALID_CERTS=1 # Accept self-signed certs in test-mode (value must be "1", not "true")
# ICESHRIMP_BASE_URL=https://iceshrimp.127.0.0.1.nip.io:8443