加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.74 KB
一键复制 编辑 原始数据 按行查看 历史
威胁猎人 提交于 2019-03-14 16:36 . Update docker-compose.yml
version: '2'
services:
nebula-db:
image: mariadb
container_name: nebula-db
volumes:
- ./data/mariadb:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=threathunter
- MYSQL_USER=nebula
- MYSQL_PASSWORD=threathunter
nebula-redis:
image: redis
container_name: nebula-redis
ports:
- "16379:6379"
volumes:
- ./logs/redis:/data/logs/redis
- ./data/redis:/data/redis
- ./conf/redis/redis.conf:/etc/redis/redis.conf
command: redis-server /etc/redis/redis.conf
nebula-aerospike:
image: aerospike
container_name: nebula-aerospike
volumes:
- ./data/aerospike:/data/aerospike
- ./conf/aerospike/aerospike.conf:/opt/aerospike/etc/aerospike.conf
- ./logs/aerospike:/data/logs/aerospike
command: asd --foreground --config-file /opt/aerospike/etc/aerospike.conf
nebula:
build:
context: .
image: threathunterx/nebula:latest
container_name: nebula
restart: always
ports:
- "9001:9001"
environment:
- Xms=1g
- Xmx=1g
- Xmn=256m
volumes:
- ./conf/nebula:/etc/nebula
- ./logs/db_writer:/data/logs/db_writer
- ./logs/java-web:/data/logs/java-web
- ./logs/labrador:/data/logs/labrador
- ./logs/labrador:/data/logs/monitor
- ./logs/offline:/data/logs/offline
- ./logs/online:/data/logs/online
- ./logs/query_web:/data/logs/query_web
- ./logs/sniffer:/data/logs/sniffer
- ./logs/utils:/data/logs/utils
- ./logs/web:/data/logs/web
- ./logs/crond:/data/logs/crond
- ./data/tmp:/data/tmp
- ./data/config:/data/config
- ./data/log_query:/data/log_query
- ./data/persistent:/data/persistent
depends_on:
- nebula-db
- nebula-redis
- nebula-aerospike
external_links:
- nebula-db:mysql
- nebula-redis:redis
- nebula-aerospike:aerospike
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化