Add imgcompress service configuration for offline image processing
- Introduced a new YAML configuration file for imgcompress service. - Configured the service with environment variables for customization.
This commit is contained in:
parent
86cbd82991
commit
5585e68b38
2 changed files with 21 additions and 0 deletions
BIN
public/svgs/imgcompress.png
Normal file
BIN
public/svgs/imgcompress.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 92 KiB |
21
templates/compose/imgcompress.yaml
Normal file
21
templates/compose/imgcompress.yaml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# documentation: https://imgcompress.karimzouine.com
|
||||
# slogan: Offline image compression, conversion, and AI background removal for Docker homelabs.
|
||||
# category: media
|
||||
# tags: compress,photo,server,metadata
|
||||
# logo: svgs/imgcompress.png
|
||||
# port: 5000
|
||||
|
||||
services:
|
||||
imgcompress:
|
||||
image: karimz1/imgcompress:${IMGCOMPRESS_VERSION:-latest}
|
||||
container_name: imgcompress
|
||||
restart: always
|
||||
environment:
|
||||
- SERVICE_URL_IMGCOMPRESS_5000
|
||||
- DISABLE_LOGO=${DISABLE_LOGO:-false}
|
||||
- DISABLE_STORAGE_MANAGEMENT=${DISABLE_STORAGE_MANAGEMENT:-false}
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://127.0.0.1:5000"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
Loading…
Reference in a new issue