Skip to content

A GitHub repo mirroring system using webhooks

License

Notifications You must be signed in to change notification settings

tulir/maumirror

Repository files navigation

maumirror

A GitHub repo mirroring system using webhooks.

Mirrored to mau.dev/tulir/maumirror (using maumirror, of course) for CI.

Support room on Matrix: #maunium:maunium.net (bridged to Telegram: t.me/maunium)

Running

Plain

  1. Build with go build or download a build from mau.dev/tulir/maumirror (latest build direct link)
  2. Copy example-config.yaml to config.yaml and configure
  3. Run ./maumirror

Docker (compose)

version: "3.7"

services:
  maumirror:
    image: dock.mau.dev/tulir/maumirror
    restart: unless-stopped
    volumes:
    - /var/maumirror:/data
    - /etc/maumirror:/config
    - /etc/maumirror/.ssh:/home/maumirror/.ssh
  1. Install docker and docker-compose
  2. Copy example-config.yaml to /etc/maumirror/config.yaml and configure
  3. Create docker-compose.yml with the content above
  4. Ensure the volumes have correct permissions: sudo chown 29321.29321 -R /etc/maumirror /var/maumirror
  5. Start with docker-compose up -d