first commit
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
.env
|
||||||
|
images/
|
||||||
16
compose.yml
Normal file
16
compose.yml
Normal 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
|
||||||
Reference in New Issue
Block a user