-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
102 lines (102 loc) · 2.36 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
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
93
94
95
96
97
98
99
100
101
102
version: '2'
services:
hooktftp:
image: spacklerind/hooktftp
container_name: hooktftp
ports:
- "69:69/tcp"
- "69:69/udp"
restart: always
volumes:
- ./hooktftp:/etc/hooktftp
logging:
options:
max-size: 50m
dnsmasq:
image: spacklerind/dnsmasq
cap_add:
- NET_ADMIN
container_name: dnsmasq
ports:
- "67:67/tcp"
restart: always
network_mode: "host"
volumes:
- ./dnsmasq:/app/
logging:
options:
max-size: 50m
bushwood:
image: spacklerind/bushwood
container_name: bushwood
ports:
- "8080:8080/tcp"
restart: always
volumes:
- ./bushwood:/app/caddyshack
environment:
- BAKERY_SERVER=http://10.1.1.2:8081
- HTTP_PORT=8080
- JWT_SECRET=raspberrypi
- DB_PATH=/app/caddyshack/caddyshack.db
- SPACKLER_SERVER=http://10.1.1.1:8585
- LOOMIS_SERVER=http://10.1.1.1:8090
logging:
options:
max-size: 50m
bakery:
image: spacklerind/bakery
container_name: bakery
ports:
- "8081:8080/tcp"
- "111:111"
- "2049:2049"
- "111:111/udp"
- "2049:2049/udp"
restart: always
volumes:
- ./bakery:/app/bakery
environment:
- BAKERY_ADDRESS=10.1.1.2
- HTTP_PORT=8081
- BUSHWOOD_SERVER=http://10.1.1.1:8080
- BUSHWOOD_TOKEN=d42a152bff711f187479d8613ccb47925d82b21a
- TEMPLATE_PATH=/go/src/bakery/fileTemplates
logging:
options:
max-size: 50m
spackler:
image: spacklerind/spackler
container_name: spackler
ports:
- "8585:8080/tcp"
restart: always
devices:
- "/dev/ttyS0:/dev/ttyS0"
environment:
- BUSHWOOD_TOKEN=d42a152bff711f187479d8613ccb47925d82b21a
- BUSHWOOD_SERVER=http://10.1.1.1:8080
- SERIAL_DEVICE=/dev/ttyS0
logging:
options:
max-size: 50m
loomis:
image: spacklerind/loomis
container_name: loomis
ports:
- "8090:8080/tcp"
- "8091:8081/tcp"
restart: always
volumes:
- ./loomis:/app/loomis/config
- /dev:/dev
privileged: true
environment:
- DOCKER_HTT_PORT=8090
- DOCKER_CONSOLES_PORT=8091
- BUSHWOOD_TOKEN=d42a152bff711f187479d8613ccb47925d82b21a
- BUSHWOOD_SERVER=http://10.1.1.1:8080
- LOOMIS_ADDRESS=10.1.1.1
logging:
options:
max-size: 50m