yves-chevallier / github-backup-automation

✊ A Docker container to backup automation for your GitHub accounts (repositories, gists, organizations).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Docker image to backup automation for your GitHub accounts (repositories, gists, organizations)

☝️ This is a more usable fork of umputun/github-backup-docker image with some extra features, like gzip compression of your backup files and ready to work with Ansible playbook.

Usage

I recommend to use this Docker image with Ansible playbook:

It's a better way to create and deploy container to your remote server with no worries and no manual work.

version: "2"

services:
  github-backup:
    build: https://github.com/yves-chevallier/github-backup-automation.git
    container_name: "github-backup"
    hostname: "github-backup"
    restart: always

    logging:
      driver: json-file
      options:
        max-size: "10m"
        max-file: "5"

    environment:
      - GID=100
      - UID=1026
      - USERS=username org:organization
      - GITHUB_TOKEN=SECRET
      - TZ=Europe/Zurich
    volumes:
      - /volume1/docker/github:/srv/var/github-backup

⚠️ License

MIT © Vic Shóstak.

About

✊ A Docker container to backup automation for your GitHub accounts (repositories, gists, organizations).

License:MIT License


Languages

Language:Shell 69.8%Language:Dockerfile 30.2%