-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
127 lines (116 loc) · 2.67 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
version: '3'
services:
shortdb:
container_name: db
image: postgres:13
env_file:
- .env
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_USER=${POSTGRES_USER}
ports:
- 5432:5432
volumes:
- ./pgdata:/var/lib/postgresql/dataVolumes
gql:
image: hasura/graphql-engine:v2.7.0
ports:
- 15003:8080
env_file:
- .env
environment:
HASURA_GRAPHQL_METADATA_DATABASE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}
HASURA_GRAPHQL_DATABASE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}
HASURA_GRAPHQL_ENABLE_CONSOLE: "true" # set to "false" to disable console
HASURA_GRAPHQL_DEV_MODE: "true"
HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log
HASURA_GRAPHQL_ADMIN_SECRET: ${HASURA_ADMIN_SECRET}
depends_on:
- shortdb
restart: always
cache:
container_name: cache
restart: always
image: redis:latest
ports:
- "6381:6379"
command: [ "redis-server", "--appendonly", "yes" ]
hostname: redis
volumes:
- ./redis-data:/data
- ./redis.conf:/usr/local/etc/redis/redis.conf
redis-ui:
container_name: redis-ui
image: redislabs/redisinsight:latest
restart: always
volumes:
- redisinsight:/db
ports:
- 8088:8001
rabbitmq:
image: rabbitmq:3-management-alpine
ports:
- 5672:5672
- 15672:15672
volumes:
- ~/.docker-conf/rabbitmq/data/:/var/lib/rabbitmq/
- ~/.docker-conf/rabbitmq/log/:/var/log/rabbitmq
authentication:
image: authentication
build:
context: .
dockerfile: apps/authentication/Dockerfile
env_file:
- .env
ports:
- 6000:6000
expose:
- "6000"
restart: always
consent-manager:
image: consent-manager
build:
context: .
dockerfile: apps/consent-manager/Dockerfile
env_file:
- .env
ports:
- 3333:3333
expose:
- "3333"
depends_on:
- shortdb
restart: always
gatekeeper:
image: gatekeeper
build:
context: .
dockerfile: apps/gatekeeper/Dockerfile
env_file:
- .env
ports:
- 3000:3000
restart: always
resolver:
image: resolver
build:
context: .
dockerfile: apps/resolver/Dockerfile
env_file:
- .env
ports:
- 3001:3001
restart: always
mock-ui:
image: mock-ui
build:
context: apps/mock-ui
dockerfile: ./Dockerfile
env_file:
- .env
ports:
- 4000:3000
volumes:
redisinsight:
driver: local