-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (49 loc) · 1.61 KB
/
docker-compose.yml
File metadata and controls
51 lines (49 loc) · 1.61 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
include:
- docker-compose.deps.yml
services:
lunogram:
build:
context: .
dockerfile: Dockerfile
args:
VERSION: dev
COMMIT: local
ports:
- "8080:8080"
- "8081:8081"
environment:
POSTGRES_MANAGEMENT_URI: postgres://postgres:postgrespw@postgres:5432/management?sslmode=disable
POSTGRES_SUBJECTS_URI: postgres://postgres:postgrespw@postgres:5432/subjects?sslmode=disable
POSTGRES_JOURNEY_URI: postgres://postgres:postgrespw@postgres:5432/journey?sslmode=disable
RBAC_POSTGRES_URI: postgres://postgres:postgrespw@postgres:5432/rbac?sslmode=disable
REDIS_ADDRESS: redis://redis:6379
NATS_URL: nats://nats:4222
# Authentication
AUTH_DRIVER: ${AUTH_DRIVER:-basic}
AUTH_JWT_SECRET: ${AUTH_JWT_SECRET:-dev-secret-change-in-production}
AUTH_BASIC_EMAIL: ${AUTH_BASIC_EMAIL:-admin@localhost}
AUTH_BASIC_PASSWORD: ${AUTH_BASIC_PASSWORD:-admin}
AUTH_CLERK_SECRET_KEY: ${AUTH_CLERK_SECRET_KEY:-}
AUTH_CLERK_WEBHOOK_SECRET: ${AUTH_CLERK_WEBHOOK_SECRET:-}
# Public URL used to generate user-facing links (e.g. preference center, unsubscribe)
PUBLIC_URL: ${PUBLIC_URL:-http://localhost:8080}
depends_on:
postgres:
condition: service_healthy
nats:
condition: service_started
redis:
condition: service_healthy
networks:
- app_network
renderer:
build:
context: ./renderer
dockerfile: Dockerfile
environment:
NATS_URL: nats://nats:4222
depends_on:
nats:
condition: service_started
networks:
- app_network