-
Notifications
You must be signed in to change notification settings - Fork 20
/
docker-compose.yaml
90 lines (85 loc) · 1.96 KB
/
docker-compose.yaml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
services:
iyp_loader:
image: neo4j/neo4j-admin:5.21.2
profiles: ["local", "public_tls", "public_notls"]
user: "${UID}:${GID}"
container_name: iyp_loader
tty: true
stdin_open: true
volumes:
- ./data:/data
- ./dumps:/dumps
command: neo4j-admin database load neo4j --from-path=/dumps --verbose
iyp:
image: neo4j:5.21.2
profiles: ["local"]
user: "${UID}:${GID}"
container_name: iyp
restart: unless-stopped
ports:
- 7474:7474
- 7687:7687
volumes:
- ./data:/data
environment:
- NEO4J_AUTH=neo4j/password
depends_on:
iyp_loader:
condition: service_completed_successfully
iyp_readonly_tls:
image: neo4j:5.21.2
profiles: ["public_tls"]
user: "${UID}:${GID}"
container_name: iyp
restart: unless-stopped
ports:
- 7473:7473
- 7687:7687
volumes:
- ./data:/data
- ./public/certificates:/ssl
- ./public/conf_tls:/conf
- ./public/logs:/logs
environment:
- NEO4J_AUTH=neo4j/password
depends_on:
iyp_loader:
condition: service_completed_successfully
iyp_readonly_notls:
image: neo4j:5.21.2
profiles: ["public_notls"]
user: "${UID}:${GID}"
container_name: iyp
restart: unless-stopped
ports:
- 7474:7474
- 7687:7687
volumes:
- ./data:/data
- ./public/conf_notls:/conf
- ./public/logs:/logs
environment:
- NEO4J_AUTH=neo4j/password
depends_on:
iyp_loader:
condition: service_completed_successfully
caddy:
image: caddy:latest
profiles: ["caddy"]
user: "${UID}:${GID}"
container_name: caddy
restart: unless-stopped
ports:
- "80:80"
- "443:443"
- "2019:2019"
environment:
- CADDY_ADMIN=0.0.0.0:2019
volumes:
- ./site:/srv
- caddy_data:/data
- caddy_config:/config
command: /usr/bin/caddy run --resume
volumes:
caddy_data:
caddy_config: