Created
September 12, 2017 22:39
-
-
Save clcollins/452bca577bbcd2f9436843239f57179d to your computer and use it in GitHub Desktop.
Docker Compose-based, single-server deploy of CHN Server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
mongodb: | |
build: | |
dockerfile: ./Dockerfile-centos | |
context: https://github.com/CommunityHoneyNetwork/mongodb.git | |
image: mongodb:centos | |
ports: | |
- "127.0.0.1:27017:27017" | |
volumes: | |
- /srv/chn/db/centos:/var/lib/mongo:z | |
redis: | |
build: | |
dockerfile: ./Dockerfile-centos | |
context: https://github.com/CommunityHoneyNetwork/redis.git | |
image: redis:centos | |
ports: | |
- "127.0.0.1:6379:6379" | |
volumes: | |
- /srv/chn/redis/centos:/var/lib/redis:z | |
hpfeeds: | |
build: | |
dockerfile: ./Dockerfile-centos | |
context: https://github.com/CommunityHoneyNetwork/hpfeeds.git | |
image: hpfeeds:centos | |
links: | |
- mongodb:mongodb | |
ports: | |
- "10000:10000" | |
mnemosyne: | |
build: | |
dockerfile: ./Dockerfile-centos | |
context: https://github.com/CommunityHoneyNetwork/mnemosyne.git | |
image: mnemosyne:centos | |
links: | |
- mongodb:mongodb | |
- hpfeeds:hpfeeds | |
ports: | |
- "127.0.0.1:8181:8181" | |
chnserver: | |
build: | |
dockerfile: ./Dockerfile-centos | |
context: https://github.com/CommunityHoneyNetwork/CHN-Server.git | |
image: chnserver:centos | |
links: | |
- mongodb:mongodb | |
- redis:redis | |
- hpfeeds:hpfeeds | |
ports: | |
- "80:80" | |
- "127.0.0.1:443:443" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment