-
Notifications
You must be signed in to change notification settings - Fork 106
/
docker-compose.yml
49 lines (49 loc) · 1.56 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
version: '3.3'
services:
orion-ops:
image: registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-ops:1.3.0
ports:
- 1022:22
- 1080:80
environment:
- MYSQL_HOST=orion-ops-db
- MYSQL_USER=orion
- MYSQL_PASSWORD=Data@123456
- REDIS_HOST=orion-ops-redis
- REDIS_PASSWORD=Data@123456
- SECRET_KEY=orion_ops
- DEMO_MODE=false
volumes:
- /data/orion-ops-space/docker-volumes/root:/root
depends_on:
- orion-ops-db
- orion-ops-redis
orion-ops-db:
image: registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-ops-mysql:1.3.0
privileged: true
environment:
- MYSQL_DATABASE=orion-ops
- MYSQL_USER=orion
- MYSQL_PASSWORD=Data@123456
- MYSQL_ROOT_PASSWORD=Data@123456
ports:
- 13306:3306
volumes:
- /data/orion-ops-space/docker-volumes/mysql/var-lib-mysql:/var/lib/mysql
- /data/orion-ops-space/docker-volumes/mysql/var-lib-mysql-files:/var/lib/mysql-files
- /data/orion-ops-space/docker-volumes/mysql/etc-mysql:/etc/mysql
orion-ops-redis:
image: registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-ops-redis:1.3.0
privileged: true
ports:
- 16379:6379
environment:
- REDIS_PASSWORD=Data@123456
volumes:
- /data/orion-ops-space/docker-volumes/orion-ops-redis/data:/data
command: sh -c "redis-server /usr/local/redis.conf --requirepass $${REDIS_PASSWORD}"
orion-ops-adminer:
image: registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-ops-adminer:1.3.0
restart: always
ports:
- 18080:8080