From 47b5fd7f87016293fcdb82bed5553e069ec5a173 Mon Sep 17 00:00:00 2001 From: Tero Halla-aho Date: Thu, 11 Dec 2025 22:13:19 +0200 Subject: [PATCH] Move Forgejo HTTP port to 3200 to avoid conflicts --- forgejo/README.md | 4 ++-- forgejo/docker-compose.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/forgejo/README.md b/forgejo/README.md index d1c233d..2978ed6 100644 --- a/forgejo/README.md +++ b/forgejo/README.md @@ -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/`: diff --git a/forgejo/docker-compose.yml b/forgejo/docker-compose.yml index b513a2e..1ff4d71 100644 --- a/forgejo/docker-compose.yml +++ b/forgejo/docker-compose.yml @@ -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: