-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.test.example
More file actions
41 lines (36 loc) · 2.12 KB
/
Copy path.env.test.example
File metadata and controls
41 lines (36 loc) · 2.12 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
export MEGA_DATABASE__DB_TYPE=postgres
export MEGA_DATABASE__DB_URL=postgres://mega2:mega2_test_password@127.0.0.1:15432/mega2
export MEGA_REDIS__URL=redis://127.0.0.1:16379
# RustFS test service for the S3-compatible object storage backend gate.
# Uncomment when running docker/docker-compose.test.yml with the rustfs service.
# Credentials must match `RUSTFS_ACCESS_KEY` / `RUSTFS_SECRET_KEY` in
# docker/docker-compose.test.yml (`rustfs` / `rustfs_secret`).
# export MEGA_OBJECT_STORAGE__STORAGE_TYPE=s3compatible
# export MEGA_OBJECT_STORAGE__S3__REGION=us-east-1
# export MEGA_OBJECT_STORAGE__S3__BUCKET=mega2
# export MEGA_OBJECT_STORAGE__S3__ENDPOINT_URL=http://127.0.0.1:19000
# export MEGA_OBJECT_STORAGE__S3__ACCESS_KEY_ID=rustfs
# export MEGA_OBJECT_STORAGE__S3__SECRET_ACCESS_KEY=rustfs_secret
# Compose-hosted mega2 (profile `app`) HTTP probe target.
# export MEGA2_IT_HTTP_URL=http://127.0.0.1:19180
# Compose-hosted ScorpioFS (profile `scorpio`, built from sibling ../scorpiofs)
# HTTP API target for scripts/scorpiofs_smoke.sh. Unauthenticated; loopback only.
# export MEGA2_IT_SCORPIO_URL=http://127.0.0.1:12725
# Host root of the host-visible FUSE mounts (<root>/mount = monorepo workspace,
# <root>/antares/<mount_id> = Antares job mounts); rshared bind into the container.
# export MEGA2_IT_SCORPIO_WORKDIR=/tmp/mega2-scorpiofs
# Log filter passed to the scorpiofs container as SCORPIO_LOG_LEVEL.
# export MEGA2_IT_SCORPIO_LOG_LEVEL=scorpio=debug
# CI-only gate: config-validation.yml exports WEBSITE_IT=1 to run the stack
# level megaui auth/mail targets against `--profile app --profile web`.
# Intentionally not exported by default locally (those targets SKIP without
# the web stack); opt in explicitly when the full stack is up.
# export WEBSITE_IT=1
# UN-02 shadow->enforce IT: isolated PostgreSQL admin credentials for the
# 5-gate script (ER-11: credentials only via env, never in argv/file content).
# Placeholders only; set real values in the local .env.test when running the
# UN-02 gate script.
# export MEGA_IT_PGHOST=127.0.0.1
# export MEGA_IT_PGPORT=15432
# export MEGA_IT_PGUSER=mega2
# export MEGA_IT_PGPASSWORD=mega2_test_password