chore(docker): update docker-compose configuration to use local meshchat-config directory and add optional LibreTranslate service
This commit is contained in:
@@ -8,10 +8,26 @@ services:
|
||||
ports:
|
||||
- 127.0.0.1:8000:8000
|
||||
volumes:
|
||||
- meshchat-config:/config
|
||||
- ./meshchat-config:/config
|
||||
# Uncomment if you have a USB device connected, such as an RNode
|
||||
# devices:
|
||||
# - /dev/ttyUSB0:/dev/ttyUSB0
|
||||
#
|
||||
# Host network for autointerface:
|
||||
# network_mode: host
|
||||
|
||||
volumes:
|
||||
meshchat-config:
|
||||
|
||||
# LibreTranslate - optional
|
||||
|
||||
# libretranslate:
|
||||
# container_name: libretranslate
|
||||
# image: libretranslate/libretranslate:latest
|
||||
# ports:
|
||||
# - 127.0.0.1:5000:5000
|
||||
# restart: unless-stopped
|
||||
# healthcheck:
|
||||
# test: ["CMD", "curl", "-f", "http://localhost:5000/health"]
|
||||
# interval: 10s
|
||||
# timeout: 4s
|
||||
# retries: 4
|
||||
# start_period: 5s
|
||||
Reference in New Issue
Block a user