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
|
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
|
- shlink-db:/var/lib/postgresql/data
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- 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:
|
shlink:
|
||||||
image: shlinkio/shlink:stable
|
image: shlinkio/shlink:stable
|
||||||
depends_on: [shlink-db]
|
|
||||||
environment:
|
environment:
|
||||||
- DEFAULT_DOMAIN=${SHORT_DOMAIN}
|
- DEFAULT_DOMAIN=${SHORT_DOMAIN}
|
||||||
- IS_HTTPS_ENABLED=true
|
- IS_HTTPS_ENABLED=true
|
||||||
@@ -82,6 +91,9 @@ services:
|
|||||||
- traefik.http.routers.shlink.tls.certresolver=le
|
- traefik.http.routers.shlink.tls.certresolver=le
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
depends_on:
|
||||||
|
shlink-db:
|
||||||
|
condition: service_healthy
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
|
|||||||
Reference in New Issue
Block a user