🐳 修改 docker 配置.
This commit is contained in:
@@ -5,7 +5,7 @@ services:
|
|||||||
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-service:latest
|
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-service:latest
|
||||||
privileged: true
|
privileged: true
|
||||||
ports:
|
ports:
|
||||||
- 9200:9200
|
- "9200:9200"
|
||||||
environment:
|
environment:
|
||||||
SPRING_PROFILES_ACTIVE: prod
|
SPRING_PROFILES_ACTIVE: prod
|
||||||
MYSQL_HOST: mysql
|
MYSQL_HOST: mysql
|
||||||
@@ -37,7 +37,7 @@ services:
|
|||||||
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-mysql:latest
|
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-mysql:latest
|
||||||
privileged: true
|
privileged: true
|
||||||
ports:
|
ports:
|
||||||
- 3307:3306
|
- "3307:3306"
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: orion_visor
|
MYSQL_DATABASE: orion_visor
|
||||||
MYSQL_USER: orion
|
MYSQL_USER: orion
|
||||||
@@ -59,7 +59,7 @@ services:
|
|||||||
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-redis:latest
|
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-redis:latest
|
||||||
privileged: true
|
privileged: true
|
||||||
ports:
|
ports:
|
||||||
- 6380:6379
|
- "6380:6379"
|
||||||
environment:
|
environment:
|
||||||
REDIS_PASSWORD: Data@123456
|
REDIS_PASSWORD: Data@123456
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ services:
|
|||||||
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-service:latest
|
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-service:latest
|
||||||
privileged: true
|
privileged: true
|
||||||
ports:
|
ports:
|
||||||
- 9200:9200
|
- "9200:9200"
|
||||||
environment:
|
environment:
|
||||||
SPRING_PROFILES_ACTIVE: ${SPRING_PROFILES_ACTIVE:-prod}
|
SPRING_PROFILES_ACTIVE: ${SPRING_PROFILES_ACTIVE:-prod}
|
||||||
MYSQL_HOST: ${MYSQL_HOST:-mysql}
|
MYSQL_HOST: ${MYSQL_HOST:-mysql}
|
||||||
@@ -61,7 +61,7 @@ services:
|
|||||||
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-mysql:latest
|
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-mysql:latest
|
||||||
privileged: true
|
privileged: true
|
||||||
ports:
|
ports:
|
||||||
- 3307:3306
|
- "3307:3306"
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: ${MYSQL_DATABASE:-orion_visor}
|
MYSQL_DATABASE: ${MYSQL_DATABASE:-orion_visor}
|
||||||
MYSQL_USER: ${MYSQL_USER:-orion}
|
MYSQL_USER: ${MYSQL_USER:-orion}
|
||||||
@@ -84,7 +84,7 @@ services:
|
|||||||
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-redis:latest
|
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-redis:latest
|
||||||
privileged: true
|
privileged: true
|
||||||
ports:
|
ports:
|
||||||
- 6380:6379
|
- "6380:6379"
|
||||||
environment:
|
environment:
|
||||||
REDIS_PASSWORD: ${REDIS_PASSWORD:-Data@123456}
|
REDIS_PASSWORD: ${REDIS_PASSWORD:-Data@123456}
|
||||||
volumes:
|
volumes:
|
||||||
@@ -103,7 +103,7 @@ services:
|
|||||||
guacd:
|
guacd:
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-guacd:latest
|
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-guacd:latest
|
||||||
ports:
|
ports:
|
||||||
- 4822.4.32
|
- "4822:4822"
|
||||||
environment:
|
environment:
|
||||||
GUACD_LOG_LEVEL: info
|
GUACD_LOG_LEVEL: info
|
||||||
GUACD_LOG_FILE: /var/log/guacd.log
|
GUACD_LOG_FILE: /var/log/guacd.log
|
||||||
@@ -125,7 +125,7 @@ services:
|
|||||||
adminer:
|
adminer:
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-adminer:latest
|
image: registry.cn-hangzhou.aliyuncs.com/orionsec/orion-visor-adminer:latest
|
||||||
ports:
|
ports:
|
||||||
- 8081:8080
|
- "8081:8080"
|
||||||
environment:
|
environment:
|
||||||
ADMINER_DEFAULT_SERVER: ${MYSQL_HOST:-mysql}
|
ADMINER_DEFAULT_SERVER: ${MYSQL_HOST:-mysql}
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in New Issue
Block a user