Update Random_Containers/chhoto-url/compose.yaml

This commit is contained in:
2026-06-07 01:09:31 +00:00
parent cef5e5b42f
commit 774abe3ddb
+24 -12
View File
@@ -1,6 +1,3 @@
# SPDX-FileCopyrightText: 2023 Sayantan Santra <[email protected]>
# SPDX-License-Identifier: MIT
services:
chhoto-url:
image: sintan1729/chhoto-url:latest
@@ -15,9 +12,6 @@ services:
# cap_drop:
# - ALL
#ports:
# If you changed the "port" environment variable, adjust accordingly
# The number AFTER the colon should match the "port" variable and the number
# before the colon is the port where you would access the container from outside.
#- 4567:4567
environment:
# Change if you want to mount the database somewhere else.
@@ -30,11 +24,8 @@ services:
- db_url=/db/urls.sqlite
# Change this if your server URL is not "http://localhost"
# This must not be surrounded by quotes. For example:
# site_url="https://www.example.com" incorrect
# site_url=https://www.example.com correct
# This is important to ensure Chhoto URL outputs the shortened link with the correct URL.
#- site_url=https://www.gabesville.com
- site_url=https://${SERVICE_NAME}.${DOMAIN_NAME}
# If you want to provided hashed password and API Key, uncomment the next line. Read the README
# for instructions for the hashing. Make sure to escape $ by $$.
@@ -90,8 +81,29 @@ services:
# You may set the TZ variable for timezone in logging, but it will only work in the alpine builds
volumes:
- /srv/docker/chhoto/db:/db
networks:
- traefik_network
labels:
### Auto create icon on Flame dashboard
- flame.type=application
- flame.name=${SERVICE_NAME}
- flame.url=https://${SERVICE_NAME}.${DOMAIN_NAME}
- flame.icon=https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/chhoto-url.png
### Traefik Labels
- traefik.enable=true
- traefik.http.routers.${SERVICE_NAME}-https.tls=true
- traefik.http.routers.${SERVICE_NAME}-https.tls.certresolver=cloudflare
- traefik.http.routers.${SERVICE_NAME}-https.entrypoints=websecure
- traefik.http.routers.${SERVICE_NAME}-https.rule=Host(`${SERVICE_NAME}.${DOMAIN_NAME}`)
### Monitor with uptime-kuma
- kuma.monitoring.group.name=Docker Containers
- kuma.${SERVICE_NAME}.docker.parent_name=monitoring
- kuma.${SERVICE_NAME}.docker.name=${SERVICE_NAME}
- kuma.${SERVICE_NAME}.docker.type=docker
- kuma.${SERVICE_NAME}.docker.docker_container=${SERVICE_NAME}
- kuma.${SERVICE_NAME}.docker.docker_host=1
- 'kuma.${SERVICE_NAME}.docker.tag_names=[{"name": "docker_tag"}]'
networks:
default:
traefik_network:
external: true
name: nginx