Skip to content

Commit

Permalink
README for Gitea
Browse files Browse the repository at this point in the history
  • Loading branch information
ericzbeard committed Aug 27, 2024
1 parent 3d17f69 commit 90932d5
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions Solutions/Gitea/README.md
Original file line number Diff line number Diff line change
@@ -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.



0 comments on commit 90932d5

Please sign in to comment.