fix(deploy): 更新docker-compose配置和数据库连接地址
- 在docker-compose中添加时区环境变量 - 将MySQL和Redis连接地址从localhost改为服务名 - 更新Makefile中的docker compose命令语法
This commit is contained in:
@@ -8,6 +8,8 @@ services:
|
||||
- ${API_EXTERNAL_PORT}:${API_INNER_PORT}
|
||||
volumes:
|
||||
- ${API_LOG_DIR}:/app/logs
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
|
||||
networks:
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user