Move Forgejo HTTP port to 3200 to avoid conflicts
This commit is contained in:
parent
c626b84324
commit
47b5fd7f87
2 changed files with 3 additions and 3 deletions
|
|
@ -5,7 +5,7 @@ Lightweight Git hosting + CI with Forgejo (Gitea fork) behind Apache on halla-ah
|
|||
|
||||
What’s included
|
||||
- Docker Compose for Forgejo + SSH and an Actions runner (`forgejo/docker-compose.yml`).
|
||||
- Apache vhost snippet (added to `default-ssl.conf`) to reverse-proxy `git.halla-aho.net` to the Forgejo container on port 3000.
|
||||
- Apache vhost snippet (added to `default-ssl.conf`) to reverse-proxy `git.halla-aho.net` to the Forgejo container on port 3200.
|
||||
|
||||
Prereqs
|
||||
- Docker installed on halla-aho.net.
|
||||
|
|
@ -23,7 +23,7 @@ Deploy Forgejo
|
|||
docker compose -f forgejo/docker-compose.yml up -d forgejo
|
||||
```
|
||||
3) Configure Apache (already added to `default-ssl.conf`):
|
||||
- VirtualHost `git.halla-aho.net:9443` proxies to `http://127.0.0.1:3000/`.
|
||||
- VirtualHost `git.halla-aho.net:9443` proxies to `http://127.0.0.1:3200/`.
|
||||
- TLS files: `/etc/apache2/ssl/git.halla-aho.net.{crt,key,chain.crt}` (update if different).
|
||||
- Enable the site and reload Apache.
|
||||
4) Finish setup in the UI at `https://git.halla-aho.net/`:
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ services:
|
|||
volumes:
|
||||
- /srv/forgejo/data:/data
|
||||
ports:
|
||||
- "3000:3000" # HTTP (Apache will reverse proxy)
|
||||
- "3200:3000" # HTTP (Apache will reverse proxy)
|
||||
- "2222:22" # SSH for git
|
||||
|
||||
runner:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue