update for our setup
All checks were successful
Build Docker containers / Build (push) Successful in 16s
All checks were successful
Build Docker containers / Build (push) Successful in 16s
This commit is contained in:
@ -1,28 +1,23 @@
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
# listens to mqtt packets and saves to database
|
# listens to mqtt packets and saves to database
|
||||||
meshtastic-mqtt:
|
meshtastic-mqtt:
|
||||||
container_name: meshtastic-mqtt
|
container_name: meshtastic-mqtt
|
||||||
|
image: git.arinity.org/ctmesh/map:latest
|
||||||
depends_on:
|
depends_on:
|
||||||
database:
|
database:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: ./Dockerfile
|
|
||||||
command: /app/docker/mqtt.sh
|
command: /app/docker/mqtt.sh
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: "mysql://root:password@database:3306/meshtastic-map?connection_limit=100"
|
DATABASE_URL: "mysql://root:password@database:3306/meshtastic-map?connection_limit=100"
|
||||||
MQTT_OPTS: "" # add any custom mqtt.js options here
|
MQTT_OPTS: "--mqtt-broker-url=" # add any custom mqtt.js options here
|
||||||
|
|
||||||
# runs the web map ui
|
# runs the web map ui
|
||||||
meshtastic-map:
|
meshtastic-map:
|
||||||
container_name: meshtastic-map
|
container_name: meshtastic-map
|
||||||
|
image: git.arinity.org/ctmesh/map:latest
|
||||||
depends_on:
|
depends_on:
|
||||||
database:
|
database:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: ./Dockerfile
|
|
||||||
command: /app/docker/map.sh
|
command: /app/docker/map.sh
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080/tcp
|
- 8080:8080/tcp
|
||||||
|
Reference in New Issue
Block a user