Last active
October 8, 2025 20:47
-
-
Save tilllt/81d535ddf204f8a3d893eea18fbecd9a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| meshbbs: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| container_name: meshbbs | |
| restart: unless-stopped | |
| # Device access for Meshtastic hardware | |
| devices: | |
| - /dev/ttyACM0:/dev/ttyACM0 | |
| # Uncomment if using different device: | |
| # - /dev/ttyUSB0:/dev/ttyUSB0 | |
| # - /dev/cu.usbserial-*:/dev/ttyUSB0 # macOS | |
| # Optional: For Bluetooth access (less secure) | |
| # privileged: true | |
| # network_mode: host | |
| volumes: | |
| # Mount current directory to /app so config.toml can be created | |
| - .:/app | |
| # Environment variables (optional overrides) | |
| environment: | |
| # Set to debug for maximum verbosity | |
| - RUST_LOG=debug | |
| - RUST_BACKTRACE=1 | |
| # Force unbuffered output | |
| - RUST_LOG_STYLE=always | |
| # Ensure logs are captured | |
| logging: | |
| driver: "json-file" | |
| options: | |
| max-size: "10m" | |
| max-file: "3" | |
| # Keep container running even if meshbbs crashes | |
| command: start | |
| # Health check (optional - requires meshbbs to support health endpoint) | |
| # healthcheck: | |
| # test: ["CMD", "/meshbbs", "status"] | |
| # interval: 30s | |
| # timeout: 10s | |
| # retries: 3 | |
| # start_period: 10s | |
| # Volumes definition for explicit volume management (optional) | |
| volumes: | |
| meshbbs_data: | |
| driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment