diff --git a/dc b/dc index 2e5a5334..27ac440e 100755 --- a/dc +++ b/dc @@ -28,7 +28,7 @@ for i in $(seq 1 ${#PORTAL_MODULES}); do # gundb module - alias "g" if [[ ${PORTAL_MODULES:i-1:1} == "g" ]]; then - COMPOSE_FILES+=" -f docker-compose.gun.yml" + COMPOSE_FILES+=" -f docker-compose.gundb.yml" fi # jaeger module - alias "j" diff --git a/docker-compose.gun.yml b/docker-compose.gundb.yml similarity index 86% rename from docker-compose.gun.yml rename to docker-compose.gundb.yml index a3d6c2e1..26c37ae9 100644 --- a/docker-compose.gun.yml +++ b/docker-compose.gundb.yml @@ -2,6 +2,9 @@ version: "3.7" x-logging: &default-logging driver: json-file + options: + max-size: "10m" + max-file: "3" services: gun: diff --git a/docker/nginx/conf.d/server/server.api b/docker/nginx/conf.d/server/server.api index 0bf660d4..2761831d 100644 --- a/docker/nginx/conf.d/server/server.api +++ b/docker/nginx/conf.d/server/server.api @@ -164,7 +164,7 @@ location /skynet/restore { proxy_pass http://sia:9980; } -location /gun { +location /gundb { include /etc/nginx/conf.d/include/cors; proxy_set_header Upgrade $http_upgrade;