Git Integration
Talisman uses Git repository to store project data.
The following Secret should be created
apiVersion: "v1"
kind: "Secret"
metadata:
name: "talisman"
stringData:
git-branch: "$YOUR_GIT_DEFAULT_BRANCH"
git-repository: "https://$YOUR_GIT_REPOSITORY"
git-username: "$YOUR_GIT_USERNAME"
git-password: "$YOUR_GIT_PASSWORD"
To use SSH instead of username and password the following command should be used to generate keys:
Your own Git server in the demo
The Accompanied Demo ships with a Gitea container. To use your own Git server (GitHub, GitLab, Bitbucket or any other) instead:
- Create an empty repository for your Talisman projects.
- In the demo
docker-compose.yaml, remove thegiteaservice, thegiteaentry underdepends_onand theTALISMAN_GITEA_INITvariable. - Add the four
KARAVAN_GIT_*variables from the Docker tab above to thetalismanservice. Without them, the server keeps pointing at the bundled Gitea repository. - Start the stack with
docker compose up.
Tip
With GitHub or GitLab, use a personal access token as the password.