Sign inSign up

bksolutions/picapport

By bksolutions

•Updated about 18 hours ago

A private photo server based on Alpine [amd64, arm64/v8]

Image
Web servers
Content management system
Databases & storage
2

10K+

bksolutions/picapport repository overview

Docker Image Size Docker Pulls Docker Stars Github stars Github forks Github issues Github last-commit

⁠Picapport

Picapport⁠ - The private photo server

⁠Content

⁠Getting Started

These instructions will cover usage information and for the docker container

⁠Prerequisities

In order to run this container you'll need docker installed.

⁠Usage

⁠Container Parameters

The image could be started by the following command.

$ docker run -d bksolutions/picapport
or
$ docker run -d bksolutions/picapport:latest
⁠Environment Variables
  • PICAPPORT_LANG - Set default language; default=de
  • PICAPPORT_LOG - Set default logging level, default=WARNING
  • XMS - Set ...
  • XMX - Set ...
⁠Volumes
  • /opt/picapport - Picapport working directory.
  • /opt/picapport/.picapport - Picapport configuration folder.
⁠Useful Files and Locations

See config⁠ for further information.

⁠Using Podman instead of Docker

If using podman Version >=1.9 instead of docker it should be possible to use the auto-update feature with systemd.

First create the container (pod) than run generate command. The systemd service files will be created within the same folder. These .service file(s) should be moved to a systemd folder. If the system uses SELinux the new files must be updated with the correct labels. Then the systemd daemon must reload the service files.

$ podman create --name <container_name> \
 -p [host]:8080 \
 -v [host]:/opt/picapport:Z \
 -l "io.containers.autoupdate=registry" \
 -t bksolutions/picapport:latest

$ podman generate systemd --new --name <container_name> --files
$ mv *.service /usr/lib/systemd/
$ restorecon -Rv /usr/lib/systemd/
$ systemctl daemon-reload

$ systemctl start <service> --now

See docs.podman.io⁠ for further information.

⁠Compose File(s)

⁠Docker
version: "3"
services:
  picapport:
    container_name: picapport
    image: docker.io/bksolutions/picapport:latest
    restart: unless-stopped
    environment:
      - Xms=512m
      - Xmx=1024m
      - PICAPPORT_LANG=de
    volumes:
      - ${PWD}/pic.conf.d:/opt/picapport/.picapport:rw
      - ${PWD}/photo.d:/srv/photos:ro
⁠Podman
version: "3"
services:
  picapport:
    container_name: picapport
    image: docker.io/bksolutions/picapport:latest
    restart: unless-stopped
    environment:
      - Xms=512m
      - Xmx=1024m
      - PICAPPORT_LANG=de
    volumes:
      - ${PWD}/pic.conf.d:/opt/picapport/.picapport:Z
      - ${PWD}/photo.d:/srv/photos:ro
    labels:
      - "io.containers.autoupdate=registry"

⁠Find Us

⁠Versioning

We use SemVer⁠ for versioning. For the versions available, see the tags on this repository⁠.

⁠Authors

See also the list of contributors⁠ who participated in this project.

Tag summary

Content type

Image

Digest

sha256:c7a070835…

Size

103.5 MB

Last updated

about 18 hours ago

docker pull bksolutions/picapport