Picapport Photo Server based on bitnami/minideb Image
777
The image is based on bitnami/minideb and has Picapport installed.
This base image supports a full glibc library which is necessary for the video plugin.
The image supports amd64 on Linux.
docker run -d --name picapport -p 8080:80 ste3ff3n/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/cachedocker 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 st3ff3n/picapport
version: '3'
services:
picapport:
image: st3ff3n/picapport
restart: always
stop_grace_period: 5m
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
Run it with docker-compose up -d
Enter your specific domain name in the labels section.
version: '3'
services:
picapport:
image: st3ff3n/picapport:latest
restart: always
stop_grace_period: 5m
environment:
- XMS=1g
- XMX=2g
- DTRACE=DEBUG
- LC_ALL=de_DE.UTF-8
- PICAPPORT_LANG=de
networks:
- default
volumes:
- /opt/containers/picapport/data:/opt/picapport/.picapport
- /opt/containers/picapport/fotos:/srv/photos
- /opt/containers/picapport/cache:/srv/cache
labels:
- "traefik.enable=true"
- "traefik.http.routers.picapport-1.entrypoints=http"
- "traefik.http.routers.picapport-1.rule=Host(`example.com`)" ## Enter the domain name ##
- "traefik.http.middlewares.picapport-1-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.picapport-1.middlewares=picapport-1-https-redirect"
- "traefik.http.routers.picapport-1-secure.entrypoints=https"
- "traefik.http.routers.picapport-1-secure.rule=Host(`example.com`)" ## Enter the domain name ##
- "traefik.http.routers.picapport-1-secure.tls=true"
- "traefik.http.routers.picapport-1-secure.tls.certresolver=http"
- "traefik.http.routers.picapport-1-secure.service=picapport-1"
- "traefik.http.services.picapport-1.loadbalancer.server.port=80"
- "traefik.docker.network=proxy"
The code to create this docker container is available on https://github.com/st-effen/picapport.
Content type
Image
Digest
Size
237.6 MB
Last updated
over 4 years ago
docker pull st3ff3n/picapport