docker fix
This commit is contained in:
@@ -45,8 +45,8 @@ services:
|
||||
image: keywords-filter:1.0.0
|
||||
container_name: sensitive-filter
|
||||
volumes:
|
||||
- /home/lian/share/aichat/ai-chat-stack/configs/sensitive.yaml:/app/config.yaml:ro
|
||||
- /home/lian/share/aichat/ai-chat-stack/configs/sensitive-dict.txt:/app/dict.txt:ro
|
||||
- ./configs/sensitive.yaml:/app/config.yaml:ro
|
||||
- ./configs/sensitive-dict.txt:/app/dict.txt:ro
|
||||
command:
|
||||
- --config=/app/config.yaml
|
||||
- --dict=/app/dict.txt
|
||||
@@ -60,8 +60,8 @@ services:
|
||||
image: keywords-filter:1.0.0
|
||||
container_name: keywords-filter
|
||||
volumes:
|
||||
- /home/lian/share/aichat/ai-chat-stack/configs/keywords.yaml:/app/config.yaml:ro
|
||||
- /home/lian/share/aichat/ai-chat-stack/configs/keywords-dict.txt:/app/dict.txt:ro
|
||||
- ./configs/keywords.yaml:/app/config.yaml:ro
|
||||
- ./configs/keywords-dict.txt:/app/dict.txt:ro
|
||||
command:
|
||||
- --config=/app/config.yaml
|
||||
- --dict=/app/dict.txt
|
||||
@@ -77,7 +77,7 @@ services:
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- /home/lian/share/aichat/ai-chat-stack/configs/ai-chat-service.yaml:/app/config.yaml:ro
|
||||
- ./configs/ai-chat-service.yaml:/app/config.yaml:ro
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
ports:
|
||||
@@ -103,7 +103,7 @@ services:
|
||||
ports:
|
||||
- "7080:7080"
|
||||
volumes:
|
||||
- /home/lian/share/aichat/ai-chat-stack/configs/ai-chat-backend.yaml:/app/config.yaml:ro
|
||||
- ./configs/ai-chat-backend.yaml:/app/config.yaml:ro
|
||||
depends_on:
|
||||
- ai-chat-service
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user