update docker-compose for new images
This commit is contained in:
@ -2,28 +2,26 @@ 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
|
image: git.arinity.org/ctmesh/map-mqtt:latest
|
||||||
depends_on:
|
depends_on:
|
||||||
database:
|
database:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
command: /app/docker/mqtt.sh
|
command: "--mqtt-topic=msh/US/#"
|
||||||
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: "--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
|
image: git.arinity.org/ctmesh/map-web:latest
|
||||||
depends_on:
|
depends_on:
|
||||||
database:
|
database:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
command: /app/docker/map.sh
|
command: "--port=8080"
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080/tcp
|
- 8080:8080/tcp
|
||||||
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"
|
||||||
MAP_OPTS: "" # add any custom index.js options here
|
|
||||||
|
|
||||||
# runs the database to store everything from mqtt
|
# runs the database to store everything from mqtt
|
||||||
database:
|
database:
|
||||||
|
Reference in New Issue
Block a user