4 Star 0 Fork 1

LSC/guodian-yulong-hids

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.44 KB
一键复制 编辑 原始数据 按行查看 历史
Medicean 提交于 2018-04-09 17:35 . fix: Some problems have been solved
version: "2"
services:
ids_web:
container_name: ids_web
build:
context: .
dockerfile: Dockerfile-web
environment:
- IDS_ELASTICSEARCH_URL=http://ids_elasticsearch:9200
- IDS_MONGODB_URL=mongodb://ids_mongodb:27017/agent
network_mode: "bridge"
# volumes:
# - ./web/:/web/
depends_on:
- ids_mongodb
- ids_elasticsearch
links:
- ids_mongodb
- ids_elasticsearch
ports:
- 80:80
- 443:443
ids_server:
container_name: ids_server
build:
context: .
dockerfile: Dockerfile-server
environment:
- IDS_ELASTICSEARCH=ids_elasticsearch:9200
- IDS_MONGODB=ids_mongodb:27017
network_mode: "bridge"
depends_on:
- ids_mongodb
- ids_elasticsearch
links:
- ids_mongodb
- ids_elasticsearch
ports:
- 33433:33433
ids_elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.5.1
volumes:
- ./elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
ports:
- 9200:9200
- 9300:9300
network_mode: "bridge"
hostname: "ids_elasticsearch"
environment:
ES_JAVA_OPTS: "-Xmx1024m -Xms1024m"
ids_mongodb:
image: mongo:latest
container_name: "ids_mongodb"
environment:
- MONGO_DATA_DIR=/data/db
volumes:
- ./mongodb_data:/data/db
ports:
- 27017:27017
network_mode: "bridge"
command: mongod
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/lsc_mayun/guodian-yulong-hids.git
git@gitee.com:lsc_mayun/guodian-yulong-hids.git
lsc_mayun
guodian-yulong-hids
guodian-yulong-hids
master

搜索帮助