-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
64 lines (62 loc) · 1.38 KB
/
docker-compose.yaml
File metadata and controls
64 lines (62 loc) · 1.38 KB
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
version: '2.1'
volumes:
urbit:
netdatacache:
netdatalib:
minio:
caddy-data:
caddy-config:
services:
caddy:
build: ./caddy
restart: 'unless-stopped'
ports:
- "80:80"
- "2019:2019"
- "443:443"
depends_on: ["minio-s3", "netdata", "urbit"]
environment:
- DOMAIN=homeurbit.local
- PROTOCOL=http
volumes:
- caddy-config:/config
- caddy-data:/data
minio-s3:
build: ./minio
restart: 'unless-stopped'
volumes:
- minio:/data
ports:
- "9000:9000"
- "9001:9001"
# Urbit will automatically bind port 80. We bind the container's port 80 to the host's port 8080.
# That way, we run nginx reverse-proxy and urbit in parallel.
urbit:
build: ./urbit
privileged: false
restart: 'unless-stopped'
volumes:
- urbit:/urbit/piers
- urbit:/urbit/keys
ports:
- "34343:34343/udp"
- "8080:80"
labels:
- "io.balena.features.supervisor-api=1"
netdata:
build: ./netdata
privileged: true
cap_add:
- SYS_PTRACE
security_opt:
- apparmor:unconfined
ports:
- "19999:19999"
labels:
- "io.balena.features.balena-socket=1"
- "io.balena.features.procfs=1"
- "io.balena.features.supervisor-api=1"
- "io.balena.features.sysfs=1"
volumes:
- netdatalib:/var/lib/netdata
- netdatacache:/var/cache/netdata