-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (37 loc) · 1.18 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
version: '2'
services:
proxy:
build:
context: ./proxy
dockerfile: Dockerfile
stdin_open: true
tty: true
container_name: rpi_proxy
networks:
- proxy-network
ports:
- "80:80"
lights_control:
build:
context: ./home_automation
dockerfile: Dockerfile
stdin_open: true
tty: true
container_name: lights_control
depends_on:
- "proxy"
networks:
- proxy-network
- avahi-network
networks:
proxy-network:
driver: bridge
avahi-network:
driver: macvlan
driver_opts:
parent: eth0
ipam:
config:
- subnet: 192.168.178.0/24
gateway: 192.168.178.1
ip_range: 192.168.178.64/26