From c0b44b9701f5035f01b519dab5a07b42286aa37e Mon Sep 17 00:00:00 2001 From: BradBot_1 Date: Thu, 23 Feb 2023 20:52:41 +0000 Subject: [PATCH] Update resourses --- README.md | 5 +++-- data.json | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 433820a..b4ba3ae 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Environment version of [data.json](https://git.bb1.fun/BradBot_1/GiteaForwarder/ #### With an environment variable ```shell -docker run --name forwarder -e PORT=80 -e DATA='[{"origin":"https://git.example.com/user/repo","recipients":[{"url":"https://gitlab.com/user/repo","authors":[{"old":"user@example.com","email":"00000000+user@users.noreply.github.com","name":"user"}]}]}]' -p 80:80 -d bradbot1/gitea-forwarder +docker run --name forwarder -e PORT=80 -e DATA='[{"origin":"https://git.example.com/user/repo","recipients":[{"modifyReadme":true,"url":"https://gitlab.com/user/repo","authors":[{"old":"user@example.com","email":"00000000+user@users.noreply.github.com","name":"user"}]}]}]' -p 80:80 -d bradbot1/gitea-forwarder ``` #### With a volume mount (preffered) @@ -108,7 +108,8 @@ source: [docker-compose.yml](https://git.bb1.fun/BradBot_1/GiteaForwarder/src/br "email": "00000001+user2@users.noreply.github.com", "name": "user2" } - ] + ], + "modifyReadme": true } ] } diff --git a/data.json b/data.json index 91908cb..2534045 100644 --- a/data.json +++ b/data.json @@ -17,7 +17,8 @@ "email": "00000001+user2@users.noreply.github.com", "name": "user2" } - ] + ], + "modifyReadme": true } ] }