mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-03-30 20:35:40 +00:00
Milestone 2 of #132. Updates manage.sh to use docker-compose.yml when present: - start/start --with-staging (copies prod DB + config to staging) - stop [prod|staging|all] - status shows both containers - logs [prod|staging] - promote (backup prod, restart with latest image) Legacy single-container mode preserved as fallback. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
18 lines
590 B
Plaintext
18 lines
590 B
Plaintext
# MeshCore Analyzer — Environment Configuration
|
|
# Copy to .env and customize. All values have sensible defaults in docker-compose.yml.
|
|
#
|
|
# Each environment keeps config + data together in one directory:
|
|
# ~/meshcore-data/config.json, meshcore.db, Caddyfile, theme.json
|
|
# ~/meshcore-staging-data/config.json, meshcore.db, Caddyfile
|
|
|
|
# --- Production ---
|
|
PROD_HTTP_PORT=80
|
|
PROD_HTTPS_PORT=443
|
|
PROD_MQTT_PORT=1883
|
|
PROD_DATA_DIR=~/meshcore-data
|
|
|
|
# --- Staging (HTTP only, no HTTPS) ---
|
|
STAGING_HTTP_PORT=81
|
|
STAGING_MQTT_PORT=1884
|
|
STAGING_DATA_DIR=~/meshcore-staging-data
|