Fix errors with config.json not existing in the repo

Signed-off-by: Jonas Rosland <jonas.rosland@gmail.com>
This commit is contained in:
Jonas Rosland 2025-04-04 01:01:56 -04:00
parent 9a35774df1
commit 9fc76bfaf5
3 changed files with 10 additions and 4 deletions

3
.gitignore vendored
View file

@ -4,9 +4,6 @@
.env.* .env.*
!.env.example !.env.example
# Configuration files
config.json
# Logs # Logs
logs/ logs/
*.log *.log

8
config.json Normal file
View file

@ -0,0 +1,8 @@
{
"scheduler_enabled": false,
"mirror_interval": 8,
"last_run": null,
"next_run": null,
"log_level": "INFO",
"repositories": {}
}

View file

@ -30,4 +30,5 @@ services:
restart: "no" restart: "no"
volumes: volumes:
gitmirror_logs: gitmirror_logs: