fixed bugs

This commit is contained in:
ION606
2025-08-25 17:00:44 -04:00
parent 0ff98817ee
commit 955117f6f2
2 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -20,5 +20,5 @@
reverse_proxy shlink:8080
}
respond "not found" 404
respond "unauthorized domain" 404
}
+13 -1
View File
@@ -59,10 +59,19 @@ services:
- shlink-db:/var/lib/postgresql/data
networks:
- proxy
healthcheck:
test:
[
"CMD-SHELL",
"pg_isready -U shlink -d shlink -h 127.0.0.1 || exit 1",
]
interval: 5s
timeout: 5s
retries: 12
start_period: 10s
shlink:
image: shlinkio/shlink:stable
depends_on: [shlink-db]
environment:
- DEFAULT_DOMAIN=${SHORT_DOMAIN}
- IS_HTTPS_ENABLED=true
@@ -82,6 +91,9 @@ services:
- traefik.http.routers.shlink.tls.certresolver=le
networks:
- proxy
depends_on:
shlink-db:
condition: service_healthy
networks:
proxy: