-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3d17f69
commit 90932d5
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
||
|
||
|