-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (45 loc) · 782 Bytes
/
docker-compose.yml
File metadata and controls
49 lines (45 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: "3"
services:
persistence:
image: neo4j
volumes:
- neo4j:/data
deploy:
replicas: 1
resources:
limits:
cpus: "0.8"
memory: 600m
restart_policy:
condition: on-failure
ports:
- "7474:7474"
- "7687:7687"
environment:
NEO4J_AUTH: neo4j/apfel
networks:
- stunet
web:
depends_on:
- persistence
image: studentapp
deploy:
replicas: 2
resources:
limits:
cpus: "0.25"
memory: 250m
restart_policy:
condition: on-failure
ports:
- "80:80"
environment:
NEO4J_URL: persistence
NEO4J_USER: neo4j
NEO4J_PASS: apfel
networks:
- stunet
volumes:
neo4j:
networks:
stunet: