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:
|
||||
|
||||
# listens to mqtt packets and saves to database
|
||||
meshtastic-mqtt:
|
||||
container_name: meshtastic-mqtt
|
||||
image: git.arinity.org/ctmesh/map:latest
|
||||
depends_on:
|
||||
database:
|
||||
condition: service_healthy
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile
|
||||
command: /app/docker/mqtt.sh
|
||||
environment:
|
||||
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
|
||||
meshtastic-map:
|
||||
container_name: meshtastic-map
|
||||
image: git.arinity.org/ctmesh/map:latest
|
||||
depends_on:
|
||||
database:
|
||||
condition: service_healthy
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile
|
||||
command: /app/docker/map.sh
|
||||
ports:
|
||||
- 8080:8080/tcp
|
||||
|
Reference in New Issue
Block a user