picapport
Picapport in an Alpine Docker Container
1M+
Currently, this is a docker image based on Alpine and has Picapport installed.
This multiarch image supports amd64, i386, arm32v6, arm64v8, ppc64le, and s390x on Linux and amd64 on Windows
docker run -d --name picapport -p 8080:80 whatever4711/picapport
Thereafter you can access picapport on http://localhost:8080
Create a file picapport.properties and save it in a folder, e.g. config. You can specify all parameter described in the Picapport server guide:
server.port=80
robot.root.0.path=/srv/photos
foto.jpg.usecache=2
foto.jpg.cache.path=/srv/cache
In this file we specified, e.g., the path for picapport to search for the pictures inside the docker container, and the path, where all cached photos are stored.
-v $PWD/config:/opt/picapport/.picapport-v /path/to/your/fotos:/srv/photos-v /path/to/cache:/srv/cache or use a docker volumedocker run -d --name picapport -p 8080:80 -v $PWD/config:/opt/picapport/.picapport -v /path/to/fotos:/srv/photos -v /path/to/cache:/srv/cache whatever4711/picapport
version: '3'
volumes:
cache:
services:
picapport:
image: whatever4711/picapport
restart: always
expose:
- 80
environment:
- XMS=512m
- XMX=1g
- PICAPPORT_LANG=de
networks:
- backend
volumes:
- /path/to/your/configuration:/opt/picapport/.picapport
- /path/to/your/fotos:/srv/photos
- cache:/srv/cache
Run it with docker-compose up -d
Content type
Image
Digest
Size
101.5 MB
Last updated
about 5 years ago
docker pull whatever4711/picapport