mirror of
https://github.com/ION606/sharing.git
synced 2026-05-14 21:56:54 +00:00
fixed bugs
This commit is contained in:
@@ -20,5 +20,5 @@
|
||||
reverse_proxy shlink:8080
|
||||
}
|
||||
|
||||
respond "not found" 404
|
||||
respond "unauthorized domain" 404
|
||||
}
|
||||
|
||||
+13
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user