Fuck docker
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
system-api:
|
||||
build: .
|
||||
container_name: "system-api"
|
||||
ports:
|
||||
- "5000:5000"
|
||||
depends_on:
|
||||
- mosquitto
|
||||
environment:
|
||||
- LOCAL_BROKER_USERNAME=system
|
||||
- LOCAL_BROKER_PASSWORD=hepl
|
||||
- LOCAL_BROKER_ADDRESS=system-broker
|
||||
- LOCAL_BROKER_PORT=1883
|
||||
- API_BROKER_ADDRESS=192.168.15.125
|
||||
- API_BROKER_PORT=1883
|
||||
otbr:
|
||||
image: openthread/border-router
|
||||
container_name: otbr
|
||||
network_mode: "host"
|
||||
restart: always
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
devices:
|
||||
- /dev/ttyACM0:/dev/ttyACM0
|
||||
- /dev/net/tun:/dev/net/tun
|
||||
volumes:
|
||||
- /var/lib/otbr:/data
|
||||
env_file:
|
||||
- otbr-env.list
|
||||
|
||||
mosquitto:
|
||||
image: eclipse-mosquitto:latest
|
||||
|
||||
Reference in New Issue
Block a user