-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.ci.yml
57 lines (56 loc) · 1.4 KB
/
docker-compose.ci.yml
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
version: '3.7'
services:
booquet:
image: booquet/app
build:
context: .
dockerfile: ./packages/core/Dockerfile
args:
- PRISMA_DB_URL=${PRISMA_DB_URL}
ports:
- 4000:4000
environment:
# A mix of fake and real data, depending on the variable.
- FE_URL=docs.nestjs.com
- BE_URL=docs.nestjs.com
- PRISMA_DB_URL=${PRISMA_DB_URL}
- JWT_SECRET=hello-world
- REFRESH_SECRET=hello-world
- POSTMARK_KEY=hello-world
- CONTENTFUL_SPACE=hello-world
- CONTENTFUL_ENVIRONMENT=staging
- CONTENTFUL_MANAGEMENT_TOKEN=hello-world
- CONTENTFUL_ACCESS_TOKEN=hello-world
- CONTENTFUL_WEBHOOK_SECRET=hello-world
- STRIPE_API_KEY=hello-world
- STRIPE_WEBHOOK_SECRET=hello-world
- REDIS_HOST=gql-subscriptions
- REDIS_PORT=6379
depends_on:
- redis
redis:
image: redis:6-alpine
container_name: gql-subscriptions
restart: always
ports:
- 6379:6379
volumes:
- redis:/var/lib/redis
postgres:
image: postgres:12
container_name: postgres
restart: always
ports:
- 5432:5432
environment:
POSTGRES_USER: "admin"
POSTGRES_PASSWORD: "admin"
POSTGRES_DB: "booquet"
volumes:
- postgres:/var/lib/postgresql/data
volumes:
postgres:
name: booquet-db
redis:
name: booquet-cache