tuning, fixes
This commit is contained in:
parent
1e2f743904
commit
35fad96d80
2 changed files with 7 additions and 5 deletions
|
@ -11,13 +11,14 @@ This deploys the Forgejo git hosting software on Fly.io.
|
|||
1. Generate, and store securely, you secrets:
|
||||
```shell
|
||||
fly secrets set \
|
||||
"GITEA__security__SECRET_KEY=$(openssl rand -hex 12)" \
|
||||
"GITEA__security__INTERNAL_TOKEN=$(openssl rand -hex 12)"
|
||||
"GITEA__security__SECRET_KEY=$(openssl rand -hex 16)" \
|
||||
"GITEA__security__INTERNAL_TOKEN=$(openssl rand -hex 16)"
|
||||
```
|
||||
1. For S3 storage you'll need to add two more secrets:
|
||||
```shell
|
||||
fly secrets set "GITEA__storage__MINIO_ACCESS_KEY_ID=[redacted]"
|
||||
fly secrets set "GITEA__storage__MINIO_SECRET_ACCESS_KEY=[redacted]"
|
||||
fly secrets set \
|
||||
"GITEA__storage__MINIO_ACCESS_KEY_ID=[redacted]" \
|
||||
"GITEA__storage__MINIO_SECRET_ACCESS_KEY=[redacted]"
|
||||
```
|
||||
1. Deploy, `fly deploy --remote-only`
|
||||
1. Setup DNS with your registrar, you must have either CNAME or A/AAAA records
|
||||
|
@ -51,7 +52,7 @@ This deploys the Forgejo git hosting software on Fly.io.
|
|||
# Final Step
|
||||
|
||||
1. Delete the Docker Engine from your local system.
|
||||
1. You probably want to scale your remote Daemon: `fly scale vm dedicated-cpu-2x`
|
||||
1. You probably want to scale your remote Daemon: `fly scale vm shared-cpu-2x`
|
||||
|
||||
# NOTES:
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@ app = "burd-infra-forgejo"
|
|||
primary_region = "sea"
|
||||
kill_signal = "SIGINT"
|
||||
kill_timeout = "5s"
|
||||
swap_size_mb = 512
|
||||
|
||||
[experimental]
|
||||
auto_rollback = true
|
||||
|
|
Loading…
Reference in a new issue