mirror of
https://github.com/Cccc-owo/CheckInApp.git
synced 2026-06-17 05:56:29 +00:00
fix(deploy): set compose timezone
This commit is contained in:
@@ -9,6 +9,7 @@ services:
|
||||
- path: .env
|
||||
required: false
|
||||
environment:
|
||||
TZ: ${TZ:-Asia/Shanghai}
|
||||
DATABASE_URL: ${DATABASE_URL:-sqlite:////app/data/checkin.db}
|
||||
LOG_FILE: ${LOG_FILE:-/app/logs/backend.log}
|
||||
SESSION_DIR: ${SESSION_DIR:-/app/sessions}
|
||||
@@ -40,6 +41,8 @@ services:
|
||||
condition: service_healthy
|
||||
ports:
|
||||
- "${CHECKIN_WEB_PORT:-3090}:80"
|
||||
environment:
|
||||
TZ: ${TZ:-Asia/Shanghai}
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1/health >/dev/null"]
|
||||
|
||||
Reference in New Issue
Block a user