Re-add logging options and rename gun to gundb

This commit is contained in:
Fluffy9 2022-03-17 11:31:12 -04:00
parent 5f567ec174
commit 4826c8132e
No known key found for this signature in database
GPG Key ID: 2A281B25503D3492
3 changed files with 5 additions and 2 deletions

2
dc
View File

@ -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"

View File

@ -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:

View File

@ -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;