-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (39 loc) · 826 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (39 loc) · 826 Bytes
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
services:
backend:
build: ./backend
env_file:
- ./backend/.env
volumes:
- ./data:/app/data
networks:
- nuki-network
frontend:
build: ./frontend
networks:
- nuki-network
nuki-mqtt-emulator:
build: ./nuki-mqtt-emulator
env_file:
- ./nuki-mqtt-emulator/.env
volumes:
- ./data/emulator-logs:/data-emulator/logs
networks:
- nuki-network
# Uncomment the following lines if you want to expose the emulator directly
#ports:
# - "8001:8001"
nginx:
image: fholzer/nginx-brotli:latest
ports:
- "8080:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
- backend
- frontend
- nuki-mqtt-emulator
networks:
- nuki-network
networks:
nuki-network:
driver: bridge