lasthourcloud/templates/compose/shlink.yaml

32 lines
900 B
YAML
Raw Normal View History

2024-03-22 10:34:15 +00:00
# documentation: https://shlink.io/
# slogan:
# tags: links, shortener, sharing, url, short, link, sharing
# port: 8080
services:
shlink:
image: shlinkio/shlink:stable
environment:
- SERVICE_FQDN_SHLINK_8080
- DEFAULT_DOMAIN=${SERVICE_URL_SHLINK}
- IS_HTTPS_ENABLED=false
- INITIAL_API_KEY=${SERVICE_BASE64_SHLINKAPIKEY}
volumes:
- shlink-data:/etc/shlink/data
healthcheck:
2024-05-17 08:11:55 +00:00
test: ["CMD", "curl", "-f", "http://127.0.0.1:8080/rest/v3/health"]
2024-03-22 10:34:15 +00:00
interval: 2s
timeout: 10s
retries: 15
shlink-web:
image: shlinkio/shlink-web-client
environment:
- SERVICE_FQDN_SHLINKWEB_8080
- SHLINK_SERVER_API_KEY=${SERVICE_BASE64_SHLINKAPIKEY}
- SHLINK_SERVER_URL=${SERVICE_FQDN_SHLINK}
healthcheck:
2024-05-17 08:11:55 +00:00
test: ["CMD", "curl", "-f", "http://127.0.0.1:8080"]
2024-03-22 10:34:15 +00:00
interval: 2s
timeout: 10s
retries: 15