Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whatever4711/picapport
Your free photo server
https://github.com/whatever4711/picapport
circleci docker manifest multiarch photos server
Last synced: about 3 hours ago
JSON representation
Your free photo server
- Host: GitHub
- URL: https://github.com/whatever4711/picapport
- Owner: whatever4711
- License: gpl-3.0
- Created: 2017-03-02T16:49:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-12T00:14:26.000Z (over 1 year ago)
- Last Synced: 2023-06-01T13:50:24.268Z (over 1 year ago)
- Topics: circleci, docker, manifest, multiarch, photos, server
- Language: PowerShell
- Size: 5.78 MB
- Stars: 18
- Watchers: 3
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build status](https://ci.appveyor.com/api/projects/status/m7ndvfjyf106ivd4?svg=true)](https://ci.appveyor.com/project/whatever4711/picapport)
[![](https://img.shields.io/docker/pulls/whatever4711/picapport.svg)](https://cloud.docker.com/u/whatever4711/repository/docker/whatever4711/picapport)
[![](https://img.shields.io/docker/stars/whatever4711/picapport.svg)](https://cloud.docker.com/u/whatever4711/repository/docker/whatever4711/picapport)[![](https://images.microbadger.com/badges/version/whatever4711/picapport.svg)](https://microbadger.com/images/whatever4711/picapport "Get your own version badge on microbadger.com")
[![](https://images.microbadger.com/badges/image/whatever4711/picapport.svg)](https://microbadger.com/images/whatever4711/picapport "Get your own image badge on microbadger.com")
[![](https://images.microbadger.com/badges/commit/whatever4711/picapport.svg)](https://microbadger.com/images/whatever4711/picapport "Get your own commit badge on microbadger.com")# Picapport in a Container
Currently, this is a docker image based on Alpine and has [Picapport](http://www.picapport.de/) installed.
## Supported Architectures
This multiarch image supports `amd64`, `i386`, `arm32v6`, `arm64v8`, `ppc64le`, and `s390x` on Linux and `amd64` on Windows
## Starting the container
### For Windows & Linux
`docker run -d --name picapport -p 8080:80 whatever4711/picapport`Thereafter you can access picapport on http://localhost:8080
## Specifying Custom Configurations
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](http://wiki.picapport.de/display/PIC/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.## Mounting Volumes
- Mount your configuration with: `-v $PWD/config:/opt/picapport/.picapport`
- Mount your photos with: `-v /path/to/your/fotos:/srv/photos`
- Eventually mount the cache with `-v /path/to/cache:/srv/cache` or use a docker volume`docker 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`
## Easier setup with docker-compose
```YAML
version: '3'volumes:
cache:services:
picapport:
image: whatever4711/picapport
restart: always
expose:
- 80
environment:
- XMS=512m
- XMX=1g
- DTRACE=DEBUG
- LC_ALL=de_DE.UTF-8
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`