Refactor code and update UI components

This commit is contained in:
Andras Bacsai
2024-03-22 11:34:15 +01:00
parent ca9a2cb13a
commit 8b7e1e4169
51 changed files with 592 additions and 609 deletions

View File

@@ -0,0 +1,31 @@
# 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:
test: ["CMD", "curl", "-f", "http://localhost:8080/rest/v3/health"]
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:
test: ["CMD", "curl", "-f", "http://localhost:8080"]
interval: 2s
timeout: 10s
retries: 15

View File

@@ -0,0 +1,17 @@
# documentation: https://github.com/yourselfhosted/slash
# slogan: An open source, self-hosted links shortener and sharing platform.
# tags: links, shortener, sharing, url, short, link, sharing
# port: 5231
services:
slash:
image: yourselfhosted/slash
environment:
- SERVICE_FQDN_SLASH_5231
volumes:
- slash-data:/var/opt/slash
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:5231"]
interval: 2s
timeout: 10s
retries: 15