forked from teslims2/StellarKraal-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.staging.yml
More file actions
34 lines (32 loc) Β· 1.1 KB
/
Copy pathdocker-compose.staging.yml
File metadata and controls
34 lines (32 loc) Β· 1.1 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
# Staging environment Docker Compose override.
# Uses Stellar testnet RPC and a separate staging contract deployment.
# Staging secrets are stored as GitHub Actions environment secrets
# under the "staging" environment (Settings β Environments β staging).
#
# Usage:
# docker compose -f docker-compose.yml -f docker-compose.staging.yml up -d
services:
backend:
environment:
- NODE_ENV=staging
- PORT=3001
- RPC_URL=${STAGING_RPC_URL:-https://soroban-testnet.stellar.org}
- CONTRACT_ID=${STAGING_CONTRACT_ID}
- JWT_SECRET=${JWT_SECRET}
- FRONTEND_URL=${STAGING_FRONTEND_URL:-https://staging.stellarkraal.example.com}
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
frontend:
environment:
- NODE_ENV=staging
- NEXT_PUBLIC_NETWORK=testnet
- NEXT_PUBLIC_API_URL=${STAGING_API_URL:-https://api-staging.stellarkraal.example.com}
- NEXT_PUBLIC_RPC_URL=${STAGING_RPC_URL:-https://soroban-testnet.stellar.org}
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"