mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 20:12:48 +00:00
no message
This commit is contained in:
parent
6e5426764e
commit
428db42140
@ -14,12 +14,6 @@ class Apps
|
||||
'nginx',
|
||||
'redis',
|
||||
'mariadb',
|
||||
'drawio-webapp',
|
||||
'drawio-expont',
|
||||
'minder',
|
||||
'approve',
|
||||
'ai',
|
||||
'face',
|
||||
'search',
|
||||
'appstore',
|
||||
];
|
||||
|
||||
@ -80,17 +80,6 @@ services:
|
||||
- extnetwork
|
||||
restart: unless-stopped
|
||||
|
||||
ai:
|
||||
container_name: "dootask-ai-${APP_ID}"
|
||||
image: "kuaifan/dootask-ai:0.3.5"
|
||||
environment:
|
||||
REDIS_HOST: "${REDIS_HOST}"
|
||||
REDIS_PORT: "${REDIS_PORT}"
|
||||
TIMEOUT: 600
|
||||
networks:
|
||||
- extnetwork
|
||||
restart: unless-stopped
|
||||
|
||||
search:
|
||||
container_name: "dootask-search-${APP_ID}"
|
||||
image: "public.ecr.aws/zinclabs/zincsearch:0.4.10"
|
||||
|
||||
@ -78,7 +78,24 @@ server {
|
||||
proxy_pass http://service;
|
||||
}
|
||||
|
||||
include /var/www/docker/nginx/location/*.conf;
|
||||
location /appstore/ {
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Real-PORT $remote_port;
|
||||
proxy_set_header X-Forwarded-Host $the_host/appstore;
|
||||
proxy_set_header X-Forwarded-Proto $the_scheme;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header Scheme $scheme;
|
||||
proxy_set_header Server-Protocol $server_protocol;
|
||||
proxy_set_header Server-Name $server_name;
|
||||
proxy_set_header Server-Addr $server_addr;
|
||||
proxy_set_header Server-Port $server_port;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
proxy_pass http://appstore/;
|
||||
}
|
||||
|
||||
include /var/www/docker/appstore/configs/*/nginx.conf;
|
||||
}
|
||||
|
||||
|
||||
@ -1,12 +0,0 @@
|
||||
location /ai/ {
|
||||
proxy_http_version 1.1;
|
||||
proxy_buffering off;
|
||||
proxy_cache off;
|
||||
proxy_read_timeout 3600s;
|
||||
proxy_send_timeout 3600s;
|
||||
proxy_connect_timeout 3600s;
|
||||
proxy_set_header Scheme $scheme;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
proxy_pass http://ai:5001/;
|
||||
}
|
||||
@ -1,17 +0,0 @@
|
||||
location /appstore/ {
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Real-PORT $remote_port;
|
||||
proxy_set_header X-Forwarded-Host $the_host/appstore;
|
||||
proxy_set_header X-Forwarded-Proto $the_scheme;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header Scheme $scheme;
|
||||
proxy_set_header Server-Protocol $server_protocol;
|
||||
proxy_set_header Server-Name $server_name;
|
||||
proxy_set_header Server-Addr $server_addr;
|
||||
proxy_set_header Server-Port $server_port;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
proxy_pass http://appstore/;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user