-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
57 lines (55 loc) · 1.95 KB
/
docker-compose.yaml
File metadata and controls
57 lines (55 loc) · 1.95 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
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
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