diff --git a/docker-compose.yml b/docker-compose.yml index 006f92b..57739cd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,14 +3,17 @@ services: build: context: . image: btc-accumulation-monitor:local + container_name: btc-accumulation-monitor + init: true ports: - - "3088:3088" + - "10.0.10.20:3088:3088" restart: unless-stopped environment: PLAYWRIGHT_BROWSERS_PATH: /ms-playwright volumes: - - btc-monitor-data:/app/data - - btc-monitor-config:/app/config + # Persist live history/cache and user-editable settings on the Mac Mini. + - ./data:/app/data + - ./config:/app/config healthcheck: test: - CMD @@ -21,7 +24,4 @@ services: timeout: 5s start_period: 30s retries: 3 - -volumes: - btc-monitor-data: - btc-monitor-config: + stop_grace_period: 30s