feat(deploy): add Dockerfile and compose for server sync
This commit is contained in:
1 parent
7674fc2c47
commit
b9d82e54c7
4 files changed
+159
No files matched your search
@@ -0,0 +1,15 @@
|
||||
services:
|
||||
board:
|
||||
build: .
|
||||
image: reaction-board:latest
|
||||
container_name: reaction-board
|
||||
restart: unless-stopped
|
||||
init: true
|
||||
environment:
|
||||
TZ: Asia/Shanghai
|
||||
ports:
|
||||
- "8080:8080"
|
||||
volumes:
|
||||
- ./config.json:/config/config.json
|
||||
- ./data:/data
|
||||
command: ["python", "app.py", "--config", "/config/config.json"]
|
||||
Reference in new issue
Block a user