2022-02-18 00:52:52 -06:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
boringproxy:
|
2022-02-20 06:40:56 -06:00
|
|
|
image: ghcr.io/wgrobler/boringproxy-linux-amd64:latest
|
2022-02-18 00:52:52 -06:00
|
|
|
restart: unless-stopped
|
2022-02-20 06:40:56 -06:00
|
|
|
command: ["client", "-server", "bp.example.com", "-token", "your-user-token", "-acme-email", "your-email-address", "-cert-dir", "/certmagic"]
|
2022-02-18 00:52:52 -06:00
|
|
|
volumes:
|
|
|
|
- certmagic:/certmagic
|
|
|
|
- /etc/ssl/certs/:/etc/ssl/certs/:ro
|
|
|
|
networks:
|
|
|
|
vpcbr:
|
|
|
|
ipv4_address: 10.5.0.2
|
|
|
|
|
|
|
|
homeassistant:
|
|
|
|
hostname: homeassistant
|
|
|
|
restart: unless-stopped
|
|
|
|
image: ghcr.io/home-assistant/home-assistant:latest
|
|
|
|
privileged: true
|
|
|
|
ports:
|
|
|
|
- "8123:8123" # Enable port on local machine, can be removed if you only want to use the tunnel
|
|
|
|
volumes:
|
|
|
|
- ./config:/config # Path to your home assistant config folder
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
networks:
|
|
|
|
vpcbr:
|
|
|
|
ipv4_address: 10.5.0.3
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
certmagic:
|
|
|
|
|
|
|
|
networks:
|
|
|
|
vpcbr:
|
|
|
|
driver: bridge
|
|
|
|
ipam:
|
|
|
|
config:
|
|
|
|
- subnet: 10.5.0.0/16
|
|
|
|
gateway: 10.5.0.1
|