forked from HATBE/RemoteFireworkFiringSystem
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·52 lines (48 loc) · 1.1 KB
/
docker-compose.yml
File metadata and controls
executable file
·52 lines (48 loc) · 1.1 KB
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
services:
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: firework-frontend
ports:
- "192.168.4.1:8045:8045"
restart: "unless-stopped"
networks:
- firework-network
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: firework-backend
ports:
- "192.168.4.1:8080:80"
restart: "unless-stopped"
volumes:
- sequences_data:/var/www/html
devices:
- "/dev/gpiomem:/dev/gpiomem"
cap_add:
- SYS_RAWIO
privileged: true
networks:
- firework-network
captive-portal:
image: nginx:alpine
container_name: firework-portal
restart: unless-stopped
volumes:
# Mount our custom Nginx configuration file
- ./backend/nginx/nginx.conf:/etc/nginx/conf.d/default.conf
ports:
# This catches all the hijacked traffic on port 80 of the hotspot
- "192.168.4.1:80:80"
networks:
- firework-network
depends_on:
- frontend
volumes:
sequences_data:
driver: local
networks:
firework-network:
driver: bridge