Update docker-compose.yml
Browse files- 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=
|
18 |
- REDIS_CONN_STRING=redis://redis
|
19 |
-
- SESSION_SECRET=
|
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:
|