mirror of
https://github.com/coaidev/coai.git
synced 2025-05-20 21:40:15 +09:00
fix docker volumes
This commit is contained in:
parent
56f0994451
commit
34eb87bab8
@ -29,3 +29,7 @@ chat.exe
|
||||
reverse
|
||||
access.json
|
||||
access/*.json
|
||||
|
||||
db
|
||||
cache
|
||||
config
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -22,3 +22,4 @@ access/*.json
|
||||
|
||||
db
|
||||
redis
|
||||
config
|
||||
|
@ -112,7 +112,7 @@
|
||||
```
|
||||
|
||||
## 🔨 配置 | Config
|
||||
~/**config.yaml**
|
||||
~/config/**config.yaml**
|
||||
```yaml
|
||||
mysql:
|
||||
db: chatnio
|
||||
|
@ -50,7 +50,7 @@ services:
|
||||
REDIS_DB: 0
|
||||
SERVE_STATIC: "true"
|
||||
volumes:
|
||||
- ./config.yaml:/config.yaml
|
||||
- ./config:/config
|
||||
networks:
|
||||
- chatnio-network
|
||||
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
var configFile = "config.yaml"
|
||||
var configFile = "config/config.yaml"
|
||||
var configExampleFile = "config.example.yaml"
|
||||
|
||||
func ReadConf() {
|
||||
|
Loading…
Reference in New Issue
Block a user