forked from Carbon-Ledger-stellar/carbonledger
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.staging.yml
More file actions
38 lines (33 loc) · 1.57 KB
/
Copy pathdocker-compose.staging.yml
File metadata and controls
38 lines (33 loc) · 1.57 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
# Staging overrides — merged on top of docker-compose.yml
# Usage: docker compose -f docker-compose.yml -f docker-compose.staging.yml up -d
version: "3.9"
services:
postgres:
environment:
POSTGRES_DB: carbonledger_staging
POSTGRES_USER: carbonledger
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- postgres_staging_data:/var/lib/postgresql/data
backend:
image: ${BACKEND_IMAGE:-ghcr.io/carbonledger/backend:staging-latest}
environment:
DATABASE_URL: postgresql://carbonledger:${POSTGRES_PASSWORD}@postgres:5432/carbonledger_staging
JWT_SECRET: ${JWT_SECRET}
STELLAR_NETWORK: testnet
STELLAR_RPC_URL: https://soroban-testnet.stellar.org
CARBON_REGISTRY_CONTRACT_ID: ${STAGING_REGISTRY_CONTRACT_ID}
CARBON_CREDIT_CONTRACT_ID: ${STAGING_CREDIT_CONTRACT_ID}
CARBON_MARKETPLACE_CONTRACT_ID: ${STAGING_MARKETPLACE_CONTRACT_ID}
CARBON_ORACLE_CONTRACT_ID: ${STAGING_ORACLE_CONTRACT_ID}
USDC_CONTRACT_ID: ${STAGING_USDC_CONTRACT_ID}
REDIS_HOST: redis
REDIS_PORT: 6379
REDIS_PASSWORD: ${REDIS_PASSWORD:-}
FRONTEND_URL: ${STAGING_URL}
ALLOWED_ORIGINS: ${ALLOWED_ORIGINS:-https://staging.carbonledger.com}
PORT: 3001
frontend:
image: ${FRONTEND_IMAGE:-ghcr.io/carbonledger/frontend:staging-latest}
volumes:
postgres_staging_data: