ckst commited on
Commit
bc38377
·
verified ·
1 Parent(s): 0e1d734

Update docker-compose.yml

Browse files
Files changed (1) hide show
  1. docker-compose.yml +2 -2
docker-compose.yml CHANGED
@@ -14,9 +14,9 @@ services:
14
  extra_hosts:
15
  - "host.docker.internal:host-gateway"
16
  environment:
17
- - SQL_DSN=root:123456@tcp(host.docker.internal:3306)/voapi?charset=utf8mb4&parseTime=True&loc=Local # 修改此行,或注释掉以使用 SQLite 作为数据库
18
  - REDIS_CONN_STRING=redis://redis
19
- - SESSION_SECRET=random_string # 启动前必须手动修改此值为随机字符串
20
  - TZ=Asia/Shanghai
21
 
22
  depends_on:
 
14
  extra_hosts:
15
  - "host.docker.internal:host-gateway"
16
  environment:
17
+ - SQL_DSN=avnadmin:AVNS_LzzeXJgZMLdy4tlcV7f@tcp(mysql-21e69242-xingshanlu214-36f6.e.aivencloud.com:10775)/voapi?charset=utf8mb4&parseTime=True&loc=Local # 修改此行,或注释掉以使用 SQLite 作为数据库
18
  - REDIS_CONN_STRING=redis://redis
19
+ - SESSION_SECRET=AVNS_LzzeXJgZMLdy4tlcV7f # 启动前必须手动修改此值为随机字符串
20
  - TZ=Asia/Shanghai
21
 
22
  depends_on: