Skip to content

Instantly share code, notes, and snippets.

@firestar
Created July 1, 2018 06:34
Show Gist options
  • Save firestar/f4071b34872f535e9166b81456e765c4 to your computer and use it in GitHub Desktop.
Save firestar/f4071b34872f535e9166b81456e765c4 to your computer and use it in GitHub Desktop.
version: '2'
services:
neo4jDB:
privileged: true
image: nucleoteam/neo4j-cluster:latest
hostname: neo1
environment:
CLUSTER_NODES: neo1
SERVER_ID: '1'
stdin_open: true
volumes:
- /mnt/ramdisk:/var/lib/neo4j/data/
tty: true
labels:
io.rancher.container.pull_image: always
neo4j-lb:
image: rancher/lb-service-haproxy:v0.7.9
ports:
- 7474:7474/tcp
- 4005:4005/tcp
labels:
io.rancher.container.agent.role: environmentAdmin
io.rancher.container.create_agent: 'true'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment