Compare commits

..

1 Commits

Author SHA1 Message Date
Karol Wypchlo 55676fd7eb
temporarily adjust logrotate minsize on nginx to 5M 2022-09-28 13:34:57 +02:00
5 changed files with 7 additions and 8 deletions

View File

@ -21,7 +21,7 @@ services:
- JAEGER_REPORTER_LOG_SPANS=false - JAEGER_REPORTER_LOG_SPANS=false
jaeger-agent: jaeger-agent:
image: jaegertracing/jaeger-agent:1.38.1 image: jaegertracing/jaeger-agent:1.38.0
command: command:
[ [
"--reporter.grpc.host-port=jaeger-collector:14250", "--reporter.grpc.host-port=jaeger-collector:14250",
@ -43,7 +43,7 @@ services:
- jaeger-collector - jaeger-collector
jaeger-collector: jaeger-collector:
image: jaegertracing/jaeger-collector:1.38.1 image: jaegertracing/jaeger-collector:1.38.0
entrypoint: /wait_to_start.sh entrypoint: /wait_to_start.sh
container_name: jaeger-collector container_name: jaeger-collector
restart: on-failure restart: on-failure
@ -68,7 +68,7 @@ services:
- elasticsearch - elasticsearch
jaeger-query: jaeger-query:
image: jaegertracing/jaeger-query:1.38.1 image: jaegertracing/jaeger-query:1.38.0
entrypoint: /wait_to_start.sh entrypoint: /wait_to_start.sh
container_name: jaeger-query container_name: jaeger-query
restart: on-failure restart: on-failure

View File

@ -14,7 +14,7 @@ services:
- MONGODB_PASSWORD=${SKYNET_DB_PASS} - MONGODB_PASSWORD=${SKYNET_DB_PASS}
mongo: mongo:
image: mongo:4.4.17 image: mongo:4.4.16
command: --keyFile=/data/mgkey --replSet=${SKYNET_DB_REPLICASET:-skynet} --setParameter ShardingTaskExecutorPoolMinSize=10 command: --keyFile=/data/mgkey --replSet=${SKYNET_DB_REPLICASET:-skynet} --setParameter ShardingTaskExecutorPoolMinSize=10
container_name: mongo container_name: mongo
restart: unless-stopped restart: unless-stopped

View File

@ -60,7 +60,7 @@ services:
# #
# make sure that the file has 0400 permissions with: # make sure that the file has 0400 permissions with:
# chmod 0400 ./docker/data/certbot/cloudflare.ini # chmod 0400 ./docker/data/certbot/cloudflare.ini
image: certbot/dns-route53:v1.31.0 image: certbot/dns-route53:v1.30.0
entrypoint: sh /entrypoint.sh entrypoint: sh /entrypoint.sh
container_name: certbot container_name: certbot
restart: unless-stopped restart: unless-stopped
@ -181,7 +181,7 @@ services:
# build: # build:
# context: https://github.com/SkynetLabs/webportal-health-check.git#main # context: https://github.com/SkynetLabs/webportal-health-check.git#main
# dockerfile: Dockerfile # dockerfile: Dockerfile
image: skynetlabs/webportal-health-check:1.0.0 image: skynetlabs/webportal-health-check:0.5.1
container_name: health-check container_name: health-check
restart: unless-stopped restart: unless-stopped
logging: *default-logging logging: *default-logging

View File

@ -50,7 +50,6 @@ aws s3 sync --no-progress /home/user/skynet-webportal/docker/data/nginx/logs s3:
# generate and sync skylinks dump # generate and sync skylinks dump
SKYLINKS_PATH=logs/skylinks/$(date +"%Y-%m-%d").log SKYLINKS_PATH=logs/skylinks/$(date +"%Y-%m-%d").log
mkdir -p /home/user/skynet-webportal/logs/skylinks # ensure path exists mkdir -p /home/user/skynet-webportal/logs/skylinks # ensure path exists
find /home/user/skynet-webportal/logs/skylinks -type f -mtime +7 -delete # delete skylink dumps older than 7 days
docker exec sia siac skynet ls --recursive --alert-suppress > /home/user/skynet-webportal/${SKYLINKS_PATH} docker exec sia siac skynet ls --recursive --alert-suppress > /home/user/skynet-webportal/${SKYLINKS_PATH}
aws s3 cp --no-progress /home/user/skynet-webportal/${SKYLINKS_PATH} s3://${BUCKET_NAME}/${SERVER_PREFIX}/${SKYLINKS_PATH} aws s3 cp --no-progress /home/user/skynet-webportal/${SKYLINKS_PATH} s3://${BUCKET_NAME}/${SERVER_PREFIX}/${SKYLINKS_PATH}

View File

@ -1,7 +1,7 @@
/home/user/skynet-webportal/docker/data/nginx/logs/*.log { /home/user/skynet-webportal/docker/data/nginx/logs/*.log {
daily daily
rotate 3650 rotate 3650
minsize 500M minsize 5M
create 644 root root create 644 root root
notifempty notifempty
dateext dateext