-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.armhf
92 lines (92 loc) · 2.21 KB
/
docker-compose.armhf
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
91
92
version: '2'
services:
homeassistant:
image: "ghcr.io/home-assistant/home-assistant:stable"
container_name: hass
volumes:
- config:/config
- localtime:/etc/localtime:ro
environment:
DBUS_SYSTEM_BUS_ADDRESS: "unix:path=/host/run/dbus/system_bus_socket"
labels:
io.balena.features.dbus: "1"
restart: unless-stopped
privileged: true
network_mode: host
devices:
- /dev/ttyAMA0
wifi-spot:
container_name: hwzpi
network_mode: host
restart: unless-stopped
build:
context: .
dockerfile: Dockerfile.armhf
image: betothreeprod/huewizpi-raspberrypi3
env_file:
- common.env
- .env
privileged: true
environment:
DBUS_SYSTEM_BUS_ADDRESS: "unix:path=/host/run/dbus/system_bus_socket"
labels:
io.balena.features.dbus: "1"
io.balena.features.kernel-modules: "1"
io.balena.features.firmware: "1"
volumes:
- hostapd:/etc/hostapd
- hapwizard:/etc/hapwizard
- netplan:/etc/netplan
cap_add:
- ALL
db:
image: linuxserver/mariadb:10.6.13
restart: unless-stopped
environment:
MYSQL_RANDOM_ROOT_PASSWORD: "true"
MYSQL_DATABASE: "passbolt"
MYSQL_USER: "passbolt"
MYSQL_PASSWORD: "P4ssb0lt"
volumes:
- database_volume:/var/lib/mysql
passbolt:
image: passbolt/passbolt:latest-ce
#Alternatively you can use rootless:
#image: passbolt/passbolt:latest-ce-non-root
restart: unless-stopped
depends_on:
- db
environment:
APP_FULL_BASE_URL: https://passbolt.local
DATASOURCES_DEFAULT_HOST: "db"
DATASOURCES_DEFAULT_USERNAME: "passbolt"
DATASOURCES_DEFAULT_PASSWORD: "P4ssb0lt"
DATASOURCES_DEFAULT_DATABASE: "passbolt"
volumes:
- gpg_volume:/etc/passbolt/gpg
- jwt_volume:/etc/passbolt/jwt
command:
[
"/usr/bin/wait-for.sh",
"-t",
"0",
"db:3306",
"--",
"/docker-entrypoint.sh",
]
ports:
- 587:587
- 80:80
- 443:443
#Alternatively for non-root images:
# - 80:8080
# - 443:4433
volumes:
localtime:
database_volume:
gpg_volume:
jwt_volume:
hostapd:
hapwizard:
netplan:
config: