chore: persist Mac Mini Docker deployment
This commit is contained in:
+7
-7
@@ -3,14 +3,17 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
image: btc-accumulation-monitor:local
|
image: btc-accumulation-monitor:local
|
||||||
|
container_name: btc-accumulation-monitor
|
||||||
|
init: true
|
||||||
ports:
|
ports:
|
||||||
- "3088:3088"
|
- "10.0.10.20:3088:3088"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
PLAYWRIGHT_BROWSERS_PATH: /ms-playwright
|
PLAYWRIGHT_BROWSERS_PATH: /ms-playwright
|
||||||
volumes:
|
volumes:
|
||||||
- btc-monitor-data:/app/data
|
# Persist live history/cache and user-editable settings on the Mac Mini.
|
||||||
- btc-monitor-config:/app/config
|
- ./data:/app/data
|
||||||
|
- ./config:/app/config
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test:
|
||||||
- CMD
|
- CMD
|
||||||
@@ -21,7 +24,4 @@ services:
|
|||||||
timeout: 5s
|
timeout: 5s
|
||||||
start_period: 30s
|
start_period: 30s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
stop_grace_period: 30s
|
||||||
volumes:
|
|
||||||
btc-monitor-data:
|
|
||||||
btc-monitor-config:
|
|
||||||
|
|||||||
Reference in New Issue
Block a user