Skip to content

Commit f2dae96

Browse files
committed
env
1 parent 018920e commit f2dae96

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docker-compose.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@ version: '3.8'
33
services:
44
metro-card-bot:
55
image: ghcr.io/shinku1014/metro-card-bot:${IMAGE_TAG:-latest}
6-
platform: linux/arm64 # 根据您的服务器架构调整: linux/amd64 或 linux/arm64
6+
platform: linux/arm64
77
container_name: metro-card-bot
88
restart: unless-stopped
99
env_file:
1010
- .env
1111
environment:
1212
- DATA_FILE=/app/data/cards.json
1313
- NODE_ENV=production
14+
- TZ=Asia/Shanghai
15+
- LANG=zh_CN.UTF-8
16+
- LC_TIME=zh_CN.UTF-8
1417
volumes:
1518
# 持久化数据目录
1619
- ./data:/app/data

0 commit comments

Comments
 (0)