add forgejo, delete gitlab (and orphan onlyoffice)
This commit is contained in:
parent
4f62c7ba5b
commit
6743e5e36d
61 changed files with 280 additions and 6384 deletions
44
README.md
44
README.md
|
|
@ -57,7 +57,7 @@ Add your specific settings in `set-config.sh`, then:
|
|||
```
|
||||
./copy_overrides.bash
|
||||
```
|
||||
2) Set your env variables in `./core/.env`, `./drupal/.env`, `./gitlab/.env`, `./hedgedoc/.env`, `./onlyoffice/.env`, `./nextcloud/.env`, `./openproject/.env`.
|
||||
2) Set your env variables in `./core/.env`, `./drupal/.env`, `./forgejo/.env`, `./hedgedoc/.env`, `./onlyoffice/.env`, `./nextcloud/.env`, `./openproject/.env`.
|
||||
|
||||
3) Generate mailcow config
|
||||
```bash
|
||||
|
|
@ -102,18 +102,38 @@ $settings['cache']['bins']['config'] = 'cache.backend.chainedfast';
|
|||
|
||||
4) Visit your Domain and install Drupal site.
|
||||
|
||||
### Gitlab
|
||||
1) Start gitlab.
|
||||
```bash
|
||||
docker compose -f gitlab/docker-compose.yml up -d
|
||||
```
|
||||
2) Get your root password.
|
||||
```bash
|
||||
sudo docker exec -it gitlab grep 'Password:'
|
||||
/etc/gitlab/initial_root_password
|
||||
```
|
||||
### Forgejo
|
||||
Git forge (replaces GitLab). Uses the shared Postgres DB and Traefik. SSH is
|
||||
served over the Traefik `forgejo-ssh` TCP entrypoint on port 2424.
|
||||
|
||||
4) Visit you domain and log in.
|
||||
1) Start Forgejo.
|
||||
```bash
|
||||
docker compose -f forgejo/docker-compose.yml up -d
|
||||
```
|
||||
2) Create the first admin user (headless install is enabled, so skip the web installer).
|
||||
```bash
|
||||
docker exec -u 1000 forgejo forgejo admin user create \
|
||||
--admin --username <you> --email <you@domain> --random-password
|
||||
```
|
||||
3) Visit `https://git.${DOMAIN}` and log in. Add your SSH key under
|
||||
*Settings → SSH/GPG Keys*. Clone URLs use `git@git.${DOMAIN}:<owner>/<repo>.git`
|
||||
on SSH port 2424.
|
||||
|
||||
#### CI runner (Forgejo Actions)
|
||||
1) Generate a registration token and put it in `forgejo-runner/.env`:
|
||||
```bash
|
||||
docker exec -u 1000 forgejo forgejo actions generate-runner-token
|
||||
```
|
||||
2) Start the runner (registers automatically on first boot; CI jobs run in
|
||||
an isolated Docker-in-Docker engine).
|
||||
```bash
|
||||
docker compose -f forgejo-runner/docker-compose.yml up -d
|
||||
```
|
||||
Workflows live in each repo under `.forgejo/workflows/*.yml` (GitHub-Actions syntax).
|
||||
|
||||
#### Migrating from GitLab
|
||||
A helper script migrates all GitLab projects (code, issues, MRs, labels,
|
||||
milestones, releases, wiki). See `forgejo/migrate-from-gitlab.sh`.
|
||||
|
||||
### Hedgedoc
|
||||
1) Start containers.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue