-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
57 lines (52 loc) · 1.25 KB
/
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
57
services:
phpmyadmin:
image: phpmyadmin:5.2
platform: linux/arm64
container_name: phpmyadmin
restart: always
env_file:
- ./.env
environment:
PMA_HOST: ${MYSQL_HOST}
PMA_PORT: ${MYSQL_PORT}
APACHE_PORT: 7000
network_mode: host
mysql:
image: mariadb:10.7
platform: linux/arm64
container_name: mysql
restart: always
env_file:
- ./.env
network_mode: host
volumes:
- mysql:/var/lib/mysql
mqtt:
image: eclipse-mosquitto
platform: linux/arm64
container_name: mqtt
restart: always
network_mode: host
volumes:
- ./mosquitto.conf:/mosquitto/config/mosquitto.conf
touchon:
image: 178.57.106.190:5000/touchon:1.3.1-jethome
env_file:
- ./.env
container_name: touchon
restart: always
depends_on:
- mysql
volumes:
- ./userscripts:${WORK_DIR}/server/userscripts
- ./backups:${WORK_DIR}/backups
- ~/.hostpipe:${WORK_DIR}/.hostpipe
- ~/.dockerpipe:${WORK_DIR}/.dockerpipe
- /etc/network/interfaces.d/netcfg:/etc/network/interfaces.d/netcfg
network_mode: host
# devices:
# - "/dev/ttyUSB0:/dev/ttyUSB0"
# - "/dev/ttyUSB1:/dev/ttyUSB1"
privileged: true
volumes:
mysql: