c4k-forgejo/README.md

41 lines
2 KiB
Markdown
Raw Normal View History

2022-06-08 18:31:45 +00:00
# convention 4 kubernetes: c4k-gitea
[![Clojars Project](https://img.shields.io/clojars/v/org.domaindrivenarchitecture/c4k-gitea.svg)](https://clojars.org/org.domaindrivenarchitecture/c4k-gitea) [![pipeline status](https://gitlab.com/domaindrivenarchitecture/c4k-gitea/badges/master/pipeline.svg)](https://gitlab.com/domaindrivenarchitecture/c4k-gitea/-/commits/main)
2022-06-07 15:37:21 +00:00
[<img src="https://domaindrivenarchitecture.org/img/delta-chat.svg" width=20 alt="DeltaChat"> chat over e-mail](mailto:buero@meissa-gmbh.de?subject=community-chat) | [<img src="https://meissa-gmbh.de/img/community/Mastodon_Logotype.svg" width=20 alt="team@social.meissa-gmbh.de"> team@social.meissa-gmbh.de](https://social.meissa-gmbh.de/@team) | [Website & Blog](https://domaindrivenarchitecture.org)
## Purpose
2022-06-11 17:34:43 +00:00
c4k-gitea provides a k8s deployment file for Gitea containing:
2022-06-08 18:31:45 +00:00
* gitea
2022-06-07 15:37:21 +00:00
* ingress having a letsencrypt managed certificate
* postgres database
## Try out
Click on the image to try out live in your browser:
2022-06-08 18:31:45 +00:00
[![Try it out](doc/tryItOut.png "Try out yourself")](https://domaindrivenarchitecture.org/pages/dda-provision/c4k-gitea/)
2022-06-07 15:37:21 +00:00
Your input will stay in your browser. No server interaction is required.
You will also be able to try out on cli:
```
2022-06-08 18:31:45 +00:00
target/graalvm/c4k-gitea src/test/resources/valid-config.edn src/test/resources/valid-auth.edn | kubeval -
target/graalvm/c4k-gitea src/test/resources/valid-config.edn src/test/resources/valid-auth.edn | kubectl apply -f -
2022-06-07 15:37:21 +00:00
```
2022-06-11 17:34:43 +00:00
## Gitea setup
After having deployed the yaml-file generated by the c4k-gitea module you need to complete the setup for gitea:
* Open the URL of your just deployed gitea-server and you will be shown a configuration page.
* Add the administrator's data and submit the page.
* The required database will be created and the Gitea setup will be completed.
2022-06-07 15:37:21 +00:00
## License
Copyright © 2022 meissa GmbH
Licensed under the [Apache License, Version 2.0](LICENSE) (the "License")
Pls. find licenses of our subcomponents [here](doc/SUBCOMPONENT_LICENSE)