No description
  • Shell 79%
  • Dockerfile 21%
Find a file
Paolo Asperti 0b93351d64
All checks were successful
Container Publish / on-success-skip (push) Has been skipped
Container Publish / build-image (arm64) (push) Successful in 29s
Container Publish / build-image (amd64) (push) Successful in 59s
Container Publish / update docker manifest (push) Successful in 14s
Merge pull request 'Update https://code.forgejo.org/actions/checkout action to v6' (#5) from renovate/https-code.forgejo.org-actions-checkout-6.x into master
Reviewed-on: #5
Reviewed-by: Paolo Asperti <paspo@noreply.asperti.com>
2026-04-21 04:04:43 +00:00
.forgejo/workflows Update https://code.forgejo.org/actions/checkout action to v6 2026-04-21 03:55:16 +00:00
rootfs initial import 2025-01-27 08:49:55 +01:00
.gitignore initial import 2025-01-27 08:49:55 +01:00
docker-compose-sample.yaml initial import 2025-01-27 08:49:55 +01:00
Dockerfile added healthcheck 2026-04-09 21:26:54 +02:00
LICENSE initial import 2025-01-27 08:49:55 +01:00
README.md removed drone 2025-04-19 09:39:59 +02:00
renovate.json Add renovate.json 2026-03-09 11:11:58 +00:00

borg store

Borg/Borgmatic store (via ssh)

usage

Use this docker-compose.yaml

services:
  borgstore:
    image: docker.asperti.com/paspo/borgstore
    ports:
      - 2222:22
    volumes:
      - ./data:/data
      - ./ssh:/ssh # add authorized_keys file here
    environment:
      USERNAME: myuser # default: borgstore
      GROUPNAME: mygroup # default: borgstore
      SSH_PUBKEY: ssh-rsa AAAAB3NzaC....  # optional
      PUID: 1000 # default: 1000
      PGID: 1000 # default: 1000
      TZ: Etc/UTC  # default: Etc/UTC

The /data directory and its contents will be chowned to $PUID:$PGID and chmodded to 0755 for directories and 0644 for files at container start.

You can add an optional SSH public key by using the environment variable SSH_PUBKEY, this variable will be used to create the authorized_keys file if it doesn't exists.