forked from juspay/superposition
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
69 lines (66 loc) · 2.36 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
69 lines (66 loc) · 2.36 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
59
60
61
62
63
64
65
66
67
68
69
services:
postgres:
build: ./docker-compose/postgres/
container_name: superposition_postgres
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: "docker"
POSTGRES_DB: "config"
volumes:
- ./docker-compose/postgres/data:/var/lib/postgresql/data
restart: on-failure
# localstack:
# build: ./docker-compose/localstack/
# container_name: superposition_localstack
# ports:
# - "4510-4559:4510-4559" # external service port range
# - "4566:4566" # LocalStack Edge Proxy
# - "4571:4571"
# environment:
# LOCALSTACK_SERVICES: s3, sns, sqs, logs, cloudwatch, kms
# AWS_DEFAULT_REGION: ap-south-1
# EDGE_PORT: 4566
# redis:
# image: redis:7
# container_name: superposition_redis
# restart: on-failure
# ports:
# - 6379:6379
# command: redis-server
# network_mode: bridge
# app:
# image: ghcr.io/juspay/superposition:latest
# container_name: superposition_app
# ports:
# - "8080:8080"
# environment:
# - DATABASE_URL=postgres://postgres:docker@superposition_postgres:5432/config?sslmode=disable
# - RUST_LOG=debug
# - AWS_ACCESS_KEY_ID=test
# - AWS_SECRET_ACCESS_KEY=test
# - AWS_SESSION_TOKEN=test
# - AWS_REGION=ap-south-1
# - DB_USER=postgres
# - DB_HOST=superposition_postgres:5432
# - DB_NAME=config
# - APP_ENV=DEV
# - AWS_REGION_ENDPOINT=http://superposition_localstack:4566
# - ALLOW_SAME_KEYS_OVERLAPPING_CTX=true
# - ALLOW_DIFF_KEYS_OVERLAPPING_CTX=true
# - ALLOW_SAME_KEYS_NON_OVERLAPPING_CTX=true
# - CAC_HOST=http://localhost:8080
# - API_HOSTNAME=http://localhost:8080
# - SUPERPOSITION_VERSION=v0.1.0
# - HOSTNAME=<application_name>-<deployment_id>-<replicaset>-<pod>
# - ACTIX_KEEP_ALIVE=120
# - SERVICE_PREFIX=
# - MAX_DB_CONNECTION_POOL_SIZE=3
# - TENANTS=dev,test
# - TENANT_MIDDLEWARE_EXCLUSION_LIST=/health,/assets/favicon.ico,/pkg/frontend.js,/pkg,/pkg/frontend_bg.wasm,/pkg/tailwind.css,/pkg/style.css,/assets,/admin,/oidc/login,/admin/organisations,/organisations,/organisations/switch/{organisation_id},/
# - AUTH_PROVIDER=DISABLED
# - WORKER_ID=5
# depends_on:
# - postgres
# - localstack
# restart: on-failure