Skip to content

Instantly share code, notes, and snippets.

@dmitriid
Created February 23, 2018 21:17
Show Gist options
  • Save dmitriid/6e1026ad85b9cc0c56268038c8064749 to your computer and use it in GitHub Desktop.
Save dmitriid/6e1026ad85b9cc0c56268038c8064749 to your computer and use it in GitHub Desktop.
version: '3'
networks:
gaia:
driver: bridge
services:
# gaia-postgres:
# container_name: gaia-postgres
# image: postgres:latest
# restart: always
# volumes:
# - ./db/postgres:/db
# ports:
# - 5432:5432
# environment:
# POSTGRES_PASSWORD: example
# PGDATA: /db
# POSTGRES_DB: gaia
#
# networks:
# - gaia
gaia-neo4j:
container_name: gaia-neo4j
image: neo4j:latest
ports:
- 7474:7474
- 7687:7687
volumes:
- ./db/neo4j:/data
- ./config/db:/conf
environment:
NEO4J_AUTH: none
networks:
- gaia
gaia-nginx:
container_name: gaia-nginx
image: nginx:latest
volumes:
- ./static/dist:/static:ro
- ./config/nginx:/etc/nginx:ro
ports:
- 8000:80
networks:
- gaia
gaia:
container_name: gaia
image: openjdk:8-jdk-alpine
depends_on:
# - gaia-postgres
- gaia-nginx
- gaia-neo4j
ports:
- 8100:8080
volumes:
- .:/src
- ~/.gradle:/root/.gradle
working_dir: /src
command: './gradlew bootRun'
networks:
- gaia
@dmitriid
Copy link
Author

neo4j.conf

For what it's worth, I've tried various combinations of gaia instead of 0.0.0.0

dbms.security.auth_enabled=false
dbms.connectors.default_listen_address=0.0.0.0
dbms.connector.bolt.enabled=true
#dbms.connector.bolt.address=0.0.0.0:7687
dbms.connector.bolt.listen_address=0.0.0.0:7687
dbms.connector.bolt.advertised_address=0.0.0.0:7687
dbms.connector.bolt.tls_level=OPTIONAL
dbms.connectors.default_advertised_address=0.0.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment