Skip to content

Instantly share code, notes, and snippets.

@igorescobar
Last active May 27, 2016 10:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igorescobar/be32be98bb83b884c5b9598b8b03980d to your computer and use it in GitHub Desktop.
Save igorescobar/be32be98bb83b884c5b9598b8b03980d to your computer and use it in GitHub Desktop.
Two neo4j containers on the same local network without sharing data.
# based on @spacecowboy at https://github.com/neo4j/docker-neo4j/issues/34
version: '2'
services:
neo4j:
image: neo4j
ports:
- "7474:7474"
networks:
- basic-lan
environment:
- NEO4J_AUTH=none
neo4j-test:
image: neo4j
ports:
- "7475:7474"
networks:
- basic-lan
environment:
- NEO4J_AUTH=none
web:
image: debian
networks:
- basic-lan
networks:
basic-lan:
ipam:
config:
- subnet: 192.168.37.0/24
ip-range: 192.168.37.0/24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment