docker: add docker-compose.yml

This commit is contained in:
ngfchl
2026-06-19 16:34:07 +08:00
parent fbb1e81d78
commit a289b5308d
+16
View File
@@ -0,0 +1,16 @@
services:
server:
build:
context: .
dockerfile: Dockerfile
args:
VERSION: "1.0.0"
container_name: bitmonitor-server
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- ./data:/app/data
- ./server.yaml:/app/server.yaml:ro
environment:
- TZ=Asia/Shanghai