1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00

add imaginary

This commit is contained in:
kev 2021-10-18 17:40:24 +08:00
parent 8a4fb89c01
commit d3163fa579
3 changed files with 25 additions and 0 deletions

View File

@ -335,6 +335,7 @@ A collection of delicious docker recipes.
- [x] gogs/gogs :cn:
- [x] gotify/server
- [x] haproxy
- [x] h2non/imaginary
- [x] jellyfin/jellyfin
- [x] jenkins
- [x] inbound-agent

14
imaginary/README.md Normal file
View File

@ -0,0 +1,14 @@
imaginary
=========
[Imaginary][1] is a fast HTTP microservice written in Go for high-level image
processing backed by bimg and libvips.
## up and running
```bash
$ docker-compose up -d
$ http -d -o cat.png :9000/flop url==https://github.githubassets.com/images/modules/logos_page/Octocat.png
```
[1]: https://github.com/h2non/imaginary

View File

@ -0,0 +1,10 @@
version: "3.8"
services:
imaginary:
image: h2non/imaginary
command: -p 9000 -cors -enable-url-source -mount /data
ports:
- "9000:9000"
volumes:
- ./data:/data
restart: unless-stopped