From 90932d5d805c029efc56346ebcb20ff7da633cb5 Mon Sep 17 00:00:00 2001 From: Eric Beard Date: Tue, 27 Aug 2024 16:12:34 -0700 Subject: [PATCH] README for Gitea --- Solutions/Gitea/README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Solutions/Gitea/README.md diff --git a/Solutions/Gitea/README.md b/Solutions/Gitea/README.md new file mode 100644 index 00000000..b2518154 --- /dev/null +++ b/Solutions/Gitea/README.md @@ -0,0 +1,30 @@ +# Gitea Server + +Create an EC2 instance with Gitea installed, and a CloudFront distribution for +encrypted access to the web ui from the browser. The output from the template +provides the CloudFront URL. + +As a prerequisite, you need to create a plaintext secret in Secrets Manager to +store your password for a Gitea user called 'admin1' that will be created by the +user data script. The default name for the secret is 'gitea-password'. + +## Files + +### `Gitea.yaml` + +This is the raw template, which includes [Rain](https://github.com/aws-cloudformation/rain) +directives to import a VPC module and embed the user data script. + +### `Gitea-pkg.yaml` + +The is the rendered template that you can deploy with `aws cloudformation +deploy` or `rain deploy`. To regenerate this template if you make any changes +to `Gitea.yaml`, run `rain pkg -x Gitea.yaml > Gitea-pkg.yaml`. + +### `Gitea.sh` + +This is the user data script that is embedded in the packaged template. It is +meant to be used with Amazon Linux instances. + + +