-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (44 loc) · 1.13 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
version: '2'
services:
frontend:
image: ghcr.io/coderbotorg/frontend:v0.7
restart: unless-stopped
network_mode: host
privileged: true
backend:
image: ghcr.io/coderbotorg/backend:5.1.1
restart: unless-stopped
network_mode: host
privileged: true
depends_on:
- pigpio
volumes:
- "data:/coderbot/data"
labels:
io.balena.features.supervisor-api: "1"
io.balena.features.kernel-modules: '1'
wifi-py:
image: ghcr.io/coderbotorg/python-wifi-connect:0.0.16
restart: unless-stopped
network_mode: host
privileged: true
environment:
## Listening IP and port ##
PWC_HOST: "0.0.0.0"
PWC_PORT: 9090
## Hotspot details ##
PWC_HOTSPOT_SSID: "CoderBot_$UNIQUE_ID"
PWC_HOTSPOT_PASSWORD: "coderbot" # Optional. Must be 8 characters or more.
DBUS_SYSTEM_BUS_ADDRESS: "unix:path=/host/run/dbus/system_bus_socket"
labels:
io.balena.features.dbus: "1"
cap_add:
- NET_ADMIN
pigpio:
image: coderbot/alpine-pigpiod:pigpio-v79
restart: unless-stopped
network_mode: host
privileged: true
volumes:
data:
logs: