first commit

This commit is contained in:
2026-02-07 21:55:50 +01:00
commit 84cc7865cc
2 changed files with 18 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
.env
images/

16
compose.yml Normal file
View File

@@ -0,0 +1,16 @@
services:
imgpush:
image: hauxir/imgpush:latest
container_name: imgpush
restart: unless-stopped
ports:
- "5000:5000"
volumes:
- ./images:/images
environment:
- MAX_SIZE_MB=16
- MAX_UPLOADS_PER_DAY=1000
- NAME_STRATEGY=randomstr
- API_KEY=${IMGPUSH_API_KEY}
- REQUIRE_API_KEY_FOR_UPLOAD=true
- REQUIRE_API_KEY_FOR_DELETE=true