Merge branch 'andrew-updates' into andrew

This commit is contained in:
2025-05-20 20:01:17 -04:00
3 changed files with 12 additions and 12 deletions
Symlink
+1
View File
@@ -0,0 +1 @@
host.env
+1 -1
View File
@@ -1,5 +1,5 @@
.vercel
.env
host.env
node_modules
*.lock
.idea/
+10 -11
View File
@@ -1,4 +1,3 @@
# `docker network create public --ipv6`
networks:
public:
external: true
@@ -7,16 +6,10 @@ services:
readme_stats:
build: .
container_name: readme_stats
labels:
- "com.centurylinklabs.watchtower.enable=false"
restart: always
env_file:
- .env
networks:
- public
expose:
- $port
init: true
- ${port}
healthcheck:
test: wget --no-verbose -O - --tries=1 http://localhost:$$port/?username=digitaladapt | grep 'GitHub Stats' || exit 1
interval: 60m # hourly
@@ -24,11 +17,17 @@ services:
start_interval: 1s
start_period: 10s
timeout: 5s
init: true
labels:
- "com.centurylinklabs.watchtower.enable=false" # built, disable watchtower
networks:
- public
restart: always
# special container, just for watchtower, to monitor underlying image
# allow watchtower to monitor for update to base image, since our container is built
readme_stats_monitor:
image: node:lts-alpine
container_name: readme_stats_monitor
restart: no
entrypoint: "/bin/true"
image: node:lts-alpine
restart: no