No description
Find a file
leberschnitzel 9d0d3c26eb no email
2026-02-21 14:39:23 +00:00
.forgejo/workflows no email 2026-02-21 14:39:23 +00:00
Downloads Added Downloads folder with gitignore to have 2024-08-29 18:22:59 +00:00
.gitignore Changed Files Download because branche changed 2025-06-18 09:25:08 +00:00
docker-compose.yaml Matched Docker Compose with Readme 2024-08-15 20:12:27 +00:00
dockerfile Upgrade system packages and optimize pip cache on build 2026-02-19 22:40:54 +00:00
entrypoint.sh put cleanandtrash into two different variables 2025-11-23 07:55:39 +00:00
README.md put cleanandtrash into two different variables 2025-11-23 07:55:39 +00:00

GOG Repo Sync Docker

This repository provides a Docker setup for synchronizing GOG games using the gogrepoc https://github.com/Kalanyr/gogrepoc Python script. The Docker setup uses docker-compose to manage the container configuration and execution.

Getting Started

Prerequisites

Setup

  1. Clone the Repository

    Clone this repository to your local machine:

    git clone https://github.com/leberschnitzel/gogrepocdock.git
    cd gogrepocdock
    
  2. Configure Docker Compose

Open the docker-compose.yaml file and configure the environment variables:

Example configuration:

version: '3.9'
services:
    gogrepoc:
        image: leberschnitzel/gogrepocdock:latest
        volumes:
            - ./Downloads:/gogrepocdock/downloads
        environment:
            - goguser=your_gog_username #Your GOG Username (required).
            - gogpassword=your_gog_password #Your GOG Password (required).
            - updatecommands=-os windows linux -lang en #Configuration for update commands. See https://github.com/Kalanyr/gogrepoc for information (required).
            - downloadcommands=-dryrun #Configuration for download commands (optional). Remove -dryrun when you're ready to start actual downloads (optional).
            - repeat=1w #Interval for syncing. Use formats like 1w for 1 week or 3d for 3 days Default is 1w (optional)
            - clean=true #if set to true it will run the "clean" commands to find files unknown to the manifest
            - trash=false #if set to true it will run the "trash" commands, deleting the previousely found files.
  1. Create the Downloads Directory

Make sure the Downloads directory exists on your host machine where you want the downloads to be stored.

  1. Start the Container Run the following command to start the container with docker-compose:
docker-compose up

This command will pull the Docker image if not already available, create the container, and start the synchronization process. It will run until it fails for whatever reason. It will repeat the sync as instructed, standard every week. If the actual sync will run for longer than a week (or other given time), it will restart the sync as soon as it is finished.