-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.config-mysql.yml
54 lines (54 loc) · 1.11 KB
/
docker-compose.config-mysql.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
version: '3'
services:
config:
image: zhangchl007/quay:devel
container_name: config
restart: always
privileged: true
links:
- mysql
- redis
networks:
- quay
ports:
- 8443:8443
environment:
- DEBUGLOG=false
- ENCRYPTED_ROBOT_TOKEN_MIGRATION_PHASE=new-installation
command:
["config", "redhat"]
depends_on:
- mysql
- redis
mysql:
image: registry.access.redhat.com/rhscl/mysql-57-rhel7
container_name: mysql
restart: always
privileged: true
volumes:
- /var/lib/mysql:/var/lib/mysql/data:Z
networks:
- quay
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=redhat
- MYSQL_DATABASE=enterpriseregistrydb
- MYSQL_USER=quayuser
- MYSQL_PASSWORD=redhat
redis:
image: registry.access.redhat.com/rhscl/redis-32-rhel7
container_name: redis
restart: always
privileged: true
volumes:
- /var/lib/redis:/var/lib/redis/data:Z
networks:
- quay
ports:
- 6379:6379
depends_on:
- mysql
networks:
quay:
external: false