From 9fc76bfaf5591f5183a269ea4d17aeda7e8a8ade Mon Sep 17 00:00:00 2001 From: Jonas Rosland Date: Fri, 4 Apr 2025 01:01:56 -0400 Subject: [PATCH] Fix errors with config.json not existing in the repo Signed-off-by: Jonas Rosland --- .gitignore | 3 --- config.json | 8 ++++++++ docker-compose.yml | 3 ++- 3 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 config.json diff --git a/.gitignore b/.gitignore index 2c72bfa..58b9d59 100644 --- a/.gitignore +++ b/.gitignore @@ -4,9 +4,6 @@ .env.* !.env.example -# Configuration files -config.json - # Logs logs/ *.log diff --git a/config.json b/config.json new file mode 100644 index 0000000..fe0aecc --- /dev/null +++ b/config.json @@ -0,0 +1,8 @@ +{ + "scheduler_enabled": false, + "mirror_interval": 8, + "last_run": null, + "next_run": null, + "log_level": "INFO", + "repositories": {} +} diff --git a/docker-compose.yml b/docker-compose.yml index 223c280..2a2a109 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,4 +30,5 @@ services: restart: "no" volumes: - gitmirror_logs: \ No newline at end of file + gitmirror_logs: + \ No newline at end of file