-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
57 lines (54 loc) · 1.33 KB
/
docker-compose.yml
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
version: '2.1'
volumes:
media:
sync-download:
sync-staging:
ssb-data:
services:
# https://github.com/balenablocks/wifi-connect
wifi:
build: wifi-repeater
restart: always
network_mode: host
privileged: true
labels:
io.balena.features.dbus: '1'
io.balena.features.firmware: '1'
captive-portal:
build: captive-portal
restart: always
network_mode: host
privileged: true
labels:
io.balena.features.dbus: '1'
depends_on:
- wifi
# https://github.com/balenablocks/hostname
hostname:
image: balenablocks/hostname
restart: "no"
labels:
io.balena.features.supervisor-api: 1
environment:
SET_HOSTNAME: p2p
# https://hub.docker.com/repository/docker/communityfirst/ssb-go-pub
ssb:
image: communityfirst/ssb-go-pub:latest
network_mode: host
environment:
ROOM: "net:room.coolab.org:8008~shs:foHx1HuvaN++iCrQS+Zi916V6iNYEOtj9ZOAo+a0E+Q="
PUB: "net:pub.freesocial.co:8008~shs:ofYKOy2p9wsaxV73GqgOyh6C6nRGFM5FyciQyxwBd6A="
volumes:
- 'ssb-data:/root/.ssb-go'
restart: unless-stopped
ipfs:
build: ipfs
network_mode: host
volumes:
- 'sync-download:/data/ipfs'
- 'sync-staging:/export'
- 'media:/data'
labels:
io.balena.features.supervisor-api: '1'
depends_on:
- wifi