NEW
This commit is contained in:
46
backend/docker-compose-ARM.yaml
Normal file
46
backend/docker-compose-ARM.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
version: '3'
|
||||
services:
|
||||
backend:
|
||||
image: establo.estancia-agape.com:5000/establo_arm
|
||||
ports:
|
||||
- "80:8080"
|
||||
restart: always
|
||||
volumes:
|
||||
- /faktotum/docker/data/database/:/database
|
||||
env_file:
|
||||
- "/faktotum/docker/data/database/.env"
|
||||
|
||||
mqtt:
|
||||
image: eclipse-mosquitto
|
||||
restart: always
|
||||
volumes:
|
||||
- /faktotum/docker/data/mosquitto/config:/mosquitto/config/
|
||||
# network_mode: host
|
||||
ports:
|
||||
- "1883:1883"
|
||||
- "1884:1884"
|
||||
|
||||
# reader:
|
||||
# image: establo
|
||||
# restart: always
|
||||
# working_dir: /app
|
||||
# command: node index.js
|
||||
# devices:
|
||||
# - "/dev/ttyUSB0:/dev/ttyUSB0"
|
||||
# volumes:
|
||||
# - ./reader:/app
|
||||
|
||||
esphome:
|
||||
container_name: esphome
|
||||
image: esphome/esphome
|
||||
command: dashboard /config
|
||||
# command: dashboard --username ESP32 --password lora /config
|
||||
|
||||
volumes:
|
||||
- /faktotum/docker/esphome/config:/config
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
restart: always
|
||||
privileged: true
|
||||
network_mode: host
|
||||
devices:
|
||||
- "/dev/ttyUSB0:/dev/ttyUSB0"
|
||||
Reference in New Issue
Block a user