mirror of
https://github.com/okxlin/appstore.git
synced 2026-09-23 00:00:59 +00:00
Package official Shlink 5.1.5 and latest images with the verified 1Panel PostgreSQL Runtime selector. Fresh install, API workflow, restart, uninstall, and native upgrade were validated on moelin/1panel:v2; documented default mitigations cover the reviewed High CVEs.
37 lines
936 B
YAML
37 lines
936 B
YAML
services:
|
|
shlink:
|
|
image: "shlinkio/shlink:latest"
|
|
container_name: ${CONTAINER_NAME}
|
|
restart: unless-stopped
|
|
networks:
|
|
- 1panel-network
|
|
ports:
|
|
- "${PANEL_APP_PORT_HTTP}:8080"
|
|
environment:
|
|
- DEFAULT_DOMAIN=${DEFAULT_DOMAIN}
|
|
- IS_HTTPS_ENABLED=${IS_HTTPS_ENABLED}
|
|
- INITIAL_API_KEY=${INITIAL_API_KEY}
|
|
- TIMEZONE=${TZ}
|
|
- DB_DRIVER=postgres
|
|
- DB_HOST=${PANEL_DB_HOST}
|
|
- DB_PORT=${PANEL_DB_PORT}
|
|
- DB_NAME=${PANEL_DB_NAME}
|
|
- DB_USER=${PANEL_DB_USER}
|
|
- DB_PASSWORD=${PANEL_DB_USER_PASSWORD}
|
|
- SKIP_INITIAL_GEOLITE_DOWNLOAD=true
|
|
- AUTO_RESOLVE_TITLES=false
|
|
healthcheck:
|
|
test:
|
|
- CMD-SHELL
|
|
- wget -q -O /dev/null http://127.0.0.1:8080/rest/health
|
|
interval: 30s
|
|
timeout: 5s
|
|
start_period: 90s
|
|
retries: 5
|
|
labels:
|
|
createdBy: "Apps"
|
|
|
|
networks:
|
|
1panel-network:
|
|
external: true
|