Ocelot-Social/docker-compose.yml
Robert Schäfer b4c92ec29a Remove xip.io hack
After we proxy API requests through the server-side-rendered frontend
there is no need to use xip.io anymore. However, if you "join" services
to a named network at arbitrary times, the DNS of docker-compose only
works if you assign a name to the container. Thus I left `backend` as a
container name.
2018-12-08 13:17:43 +01:00

39 lines
709 B
YAML

version: "3.7"
services:
backend:
container_name: backend
image: humanconnection/nitro-backend:latest
build: .
networks:
- hc-network
depends_on:
- neo4j
ports:
- 4000:4000
environment:
- NEO4J_URI=bolt://neo4j:7687
- GRAPHQL_PORT=4000
- GRAPHQL_URI=http://localhost:4000
- CLIENT_URI=http://localhost:3000
- JWT_SECRET=b/&&7b78BF&fv/Vd
- MOCK=false
neo4j:
image: humanconnection/neo4j:latest
build:
context: .
dockerfile: Dockerfile.neo4j
networks:
- hc-network
volumes:
- neo4j-data:/data
environment:
- NEO4J_AUTH=none
networks:
hc-network:
volumes:
neo4j-data: