Compare commits
12 Commits
nginx-logr
...
master
Author | SHA1 | Date |
---|---|---|
Karol Wypchło | 3da3cf949f | |
renovate[bot] | 15d5d7c0d7 | |
Karol Wypchło | 9559ec160c | |
renovate[bot] | f21f718c13 | |
Karol Wypchło | f1ac4c5653 | |
Karol Wypchło | 17ea999288 | |
renovate[bot] | f91cb72db7 | |
renovate[bot] | f83f3cefe8 | |
Karol Wypchło | e63fcbecb7 | |
Karol Wypchło | 5ff2f5891e | |
renovate[bot] | b7afcd1feb | |
Karol Wypchlo | ba106d69f2 |
|
@ -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.0
|
image: jaegertracing/jaeger-agent:1.38.1
|
||||||
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.0
|
image: jaegertracing/jaeger-collector:1.38.1
|
||||||
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.0
|
image: jaegertracing/jaeger-query:1.38.1
|
||||||
entrypoint: /wait_to_start.sh
|
entrypoint: /wait_to_start.sh
|
||||||
container_name: jaeger-query
|
container_name: jaeger-query
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
|
|
@ -14,7 +14,7 @@ services:
|
||||||
- MONGODB_PASSWORD=${SKYNET_DB_PASS}
|
- MONGODB_PASSWORD=${SKYNET_DB_PASS}
|
||||||
|
|
||||||
mongo:
|
mongo:
|
||||||
image: mongo:4.4.16
|
image: mongo:4.4.17
|
||||||
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
|
||||||
|
|
|
@ -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.30.0
|
image: certbot/dns-route53:v1.31.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:0.5.1
|
image: skynetlabs/webportal-health-check:1.0.0
|
||||||
container_name: health-check
|
container_name: health-check
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
|
|
|
@ -50,6 +50,7 @@ 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}
|
||||||
|
|
||||||
|
|
|
@ -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 5M
|
minsize 500M
|
||||||
create 644 root root
|
create 644 root root
|
||||||
notifempty
|
notifempty
|
||||||
dateext
|
dateext
|
||||||
|
|
Reference in New Issue