forked from tot-ra/graphql-schema-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.light.yml
38 lines (36 loc) · 921 Bytes
/
docker-compose.light.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
version: '3'
services:
gql-schema-registry-db:
image: mysql:8
command: mysqld --default-authentication-plugin=mysql_native_password --skip-mysqlx
environment:
SERVICE_3306_NAME: gql-schema-registry-db
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: schema_registry
ports:
- 6000:3306
volumes:
- gql-schema-registry-db-volume:/var/lib/mysql
healthcheck:
test:
['CMD', 'mysqladmin', 'ping', '-h', 'localhost', '-u', 'healthcheck']
timeout: 5s
retries: 10
networks:
gql-schema:
aliases:
- 'gql-schema-registry-db'
gql-schema-registry-redis:
image: redis:6-alpine
ports:
- 6004:6379
environment:
SERVICE_NAME: 'gql-schema-registry-redis'
networks:
gql-schema:
aliases:
- 'gql-schema-registry-redis'
networks:
gql-schema:
volumes:
gql-schema-registry-db-volume: