forked from dromara/orion-visor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (45 loc) · 1.37 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
version: '3.3'
services:
orion-ops-pro:
image: registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-ops-pro:1.0.1
ports:
- 1081:80
environment:
- MYSQL_HOST=orion-ops-pro-db
- MYSQL_USER=orion
- MYSQL_PASSWORD=Data@123456
- REDIS_HOST=orion-ops-pro-redis
- REDIS_PASSWORD=Data@123456
- SECRET_KEY=uQeacXV8b3isvKLK
volumes:
- /data/orion-ops-pro-space/docker-volumes/orion-ops-pro/logs:/root/orion/logs/orion-ops-pro
depends_on:
- orion-ops-pro-db
- orion-ops-pro-redis
orion-ops-pro-db:
build:
context: .
dockerfile: docker/mysql/Dockerfile
privileged: true
ports:
- 3307:3306
environment:
- MYSQL_DATABASE=orion-ops-pro
- MYSQL_USER=orion
- MYSQL_PASSWORD=Data@123456
- MYSQL_ROOT_PASSWORD=Data@123456
volumes:
- /data/orion-ops-pro-space/docker-volumes/mysql/var-lib-mysql:/var/lib/mysql
- /data/orion-ops-pro-space/docker-volumes/mysql/var-lib-mysql-files:/var/lib/mysql-files
- /data/orion-ops-pro-space/docker-volumes/mysql/etc-mysql:/etc/mysql
orion-ops-pro-redis:
image: redis:6.0.16-alpine
command: redis-server --requirepass Data@123456
ports:
- 6380:6379
volumes:
- /data/orion-ops-pro-space/docker-volumes/redis/data:/data
orion-ops-pro-adminer:
image: adminer
ports:
- 8081:8080