-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (37 loc) · 913 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (37 loc) · 913 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
version: "3.9"
services:
db:
image: neo4j:latest
restart: unless-stopped
environment:
NEO4J_PLUGINS: '["apoc"]'
env_file:
- .env
expose:
- "7474:7474"
- "7687:7687"
volumes:
- data:/data
- ./neo4j/plugins:/plugins
- ./neo4j/conf:/conf
realm:
build:
context: .
dockerfile: Dockerfile
target: production
image: jacoblincool/unicourse-realm:latest
restart: unless-stopped
env_file:
- .env
expose:
- "3000:3000"
depends_on:
- db
tunnel:
image: cloudflare/cloudflared:latest
command: "tunnel --no-autoupdate run --token ${CLOUDFLARED_TOKEN}"
restart: unless-stopped
depends_on:
- realm
volumes:
data: {}