chore: add arm64 container deployment and Gitea CI
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
services:
|
||||
btc-monitor:
|
||||
build:
|
||||
context: .
|
||||
image: btc-accumulation-monitor:local
|
||||
ports:
|
||||
- "3088:3088"
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
PLAYWRIGHT_BROWSERS_PATH: /ms-playwright
|
||||
volumes:
|
||||
- btc-monitor-data:/app/data
|
||||
- btc-monitor-config:/app/config
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- /app/.venv/bin/python
|
||||
- -c
|
||||
- "import urllib.request; urllib.request.urlopen('http://127.0.0.1:3088/health/live', timeout=3)"
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
start_period: 30s
|
||||
retries: 3
|
||||
|
||||
volumes:
|
||||
btc-monitor-data:
|
||||
btc-monitor-config:
|
||||
Reference in New Issue
Block a user