Skip to content

Commit

Permalink
add separate docker-compose config for prod phccp
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeddy committed Jul 23, 2019
1 parent 5cc6739 commit 465508b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions docker-compose.phccp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: '3.2'

services:
phccp-neo4j:
image: docker.synapse.org/syn18489221/phccp-neo4j
container_name: phccp-neo4j
ports:
- "7687:7687"
- "7474:7474"
volumes:
- ./data/dbms:/var/lib/neo4j/data/dbms

phccp-prov:
build:
context: .
dockerfile: Dockerfile
image: phccp-prov
command: python3 -m synprov
container_name: phccp-prov
ports:
- "8080:8080"
environment:
NEO4J_SCHEME: bolt
NEO4J_HOST: phccp-neo4j
NEO4J_PORT: 7687
NEO4J_USERNAME: neo4j
NEO4J_PASSWORD: password
FLASK_HOST: "0.0.0.0"
links:
- phccp-neo4j

0 comments on commit 465508b

Please sign in to comment.