-
Notifications
You must be signed in to change notification settings - Fork 31
/
docker-compose.yml
58 lines (53 loc) · 1.28 KB
/
docker-compose.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
version: "3"
services:
graphqlapi:
image: nestmicroservices/graphqlapi:${TAG:-latest}
build:
context: ./services/graphqlapi
dockerfile: Dockerfile
environment:
- GRAPHQL_ENV=production
- REDIS_HOST=redis
ports:
- '4200:4200'
depends_on:
- redis
- rabbitmq
catalog:
image: nestmicroservices/catalog:${TAG:-latest}
build:
context: ./services/catalog
dockerfile: Dockerfile
environment:
- REDIS_HOST=redis
ports:
- "4201:3000"
depends_on:
- redis
- rabbitmq
rabbitmq:
image: "rabbitmq:3-management"
hostname: "rabbitmq"
environment:
RABBITMQ_ERLANG_COOKIE: "SWQOKODSQALRPCLNMEQG"
RABBITMQ_DEFAULT_USER: "rabbitmq"
RABBITMQ_DEFAULT_PASS: "rabbitmq"
RABBITMQ_DEFAULT_VHOST: "/"
ports:
- "15672:15672"
- "5672:5672"
redis:
image: "bitnami/redis:latest"
environment:
# ALLOW_EMPTY_PASSWORD is recommended only for development.
- ALLOW_EMPTY_PASSWORD=yes
- REDIS_DISABLE_COMMANDS=FLUSHDB,FLUSHALL
labels:
kompose.service.type: nodeport
ports:
- "6379:6379"
volumes:
- "redis_data:/bitnami/redis"
volumes:
redis_data:
driver: local