-
Notifications
You must be signed in to change notification settings - Fork 68
/
docker-compose.dev.yml
59 lines (57 loc) · 1.62 KB
/
docker-compose.dev.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
58
59
version: '3'
services:
gql-schema-registry:
build:
context: .
dockerfile: dev.Dockerfile
command: ./node_modules/.bin/ts-node-dev --respawn src/schema-registry.ts --watch src --inspect
ports:
- 6001:3000
- 6002:5850
environment:
- ENV_ID=dev
- WITH_WEBPACK=${WITH_WEBPACK-1}
- DB_SCHEMA_REGISTRY=gql-schema-registry-db
- ASYNC_SCHEMA_UPDATES=true
- KAFKA_CLIENT=graphql-schema-registry-server
- KAFKA_BROKER_HOST=gql-schema-registry-kafka
- KAFKA_BROKER_PORT=9092
- KAFKA_SCHEMA_TOPIC=graphql-schema-updates
- REDIS_HOST=gql-schema-registry-redis
- REDIS_SECRET=password
volumes:
- .:/app/
restart: always
depends_on:
- gql-schema-registry-redis
- gql-schema-registry-db
networks:
gql-schema:
aliases:
- 'gql-schema-registry'
gql-schema-registry-worker:
build:
context: .
dockerfile: dev.Dockerfile
command: ./node_modules/.bin/ts-node-dev --respawn src/worker/index.ts --watch src --inspect
environment:
- ENV_ID=dev
- SERVICE_NAME=gql-schema-registry-worker
- DB_SCHEMA_REGISTRY=gql-schema-registry-db
- KAFKA_CLIENT=graphql-schema-registry-server
- KAFKA_BROKER_HOST=gql-schema-registry-kafka
- KAFKA_BROKER_PORT=9092
- KAFKA_QUERIES_TOPIC=graphql-queries
volumes:
- .:/app/
restart: always
depends_on:
- gql-schema-registry-redis
- gql-schema-registry-db
- gql-schema-registry-kafka
networks:
gql-schema:
aliases:
- 'gql-schema-registry'
networks:
gql-schema: