Re-add logging options and rename gun to gundb
This commit is contained in:
parent
5f567ec174
commit
4826c8132e
2
dc
2
dc
|
@ -28,7 +28,7 @@ for i in $(seq 1 ${#PORTAL_MODULES}); do
|
||||||
|
|
||||||
# gundb module - alias "g"
|
# gundb module - alias "g"
|
||||||
if [[ ${PORTAL_MODULES:i-1:1} == "g" ]]; then
|
if [[ ${PORTAL_MODULES:i-1:1} == "g" ]]; then
|
||||||
COMPOSE_FILES+=" -f docker-compose.gun.yml"
|
COMPOSE_FILES+=" -f docker-compose.gundb.yml"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# jaeger module - alias "j"
|
# jaeger module - alias "j"
|
||||||
|
|
|
@ -2,6 +2,9 @@ version: "3.7"
|
||||||
|
|
||||||
x-logging: &default-logging
|
x-logging: &default-logging
|
||||||
driver: json-file
|
driver: json-file
|
||||||
|
options:
|
||||||
|
max-size: "10m"
|
||||||
|
max-file: "3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gun:
|
gun:
|
|
@ -164,7 +164,7 @@ location /skynet/restore {
|
||||||
proxy_pass http://sia:9980;
|
proxy_pass http://sia:9980;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /gun {
|
location /gundb {
|
||||||
include /etc/nginx/conf.d/include/cors;
|
include /etc/nginx/conf.d/include/cors;
|
||||||
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
|
Reference in New Issue