From d0605848ad94bf88ca59ad34da8b3030ecfd8fa9 Mon Sep 17 00:00:00 2001 From: wompmacho Date: Fri, 3 Apr 2026 08:12:52 +0000 Subject: [PATCH] update to use include rule --- projects/gitea/index.md | 91 +---------------------------------------- 1 file changed, 1 insertion(+), 90 deletions(-) diff --git a/projects/gitea/index.md b/projects/gitea/index.md index b9f6fd4..69e0857 100644 --- a/projects/gitea/index.md +++ b/projects/gitea/index.md @@ -57,96 +57,7 @@ If you are looking for a "no-nonsense" Git hosting solution that feels like GitH ## Docker Compose Example ```yml -################################################################################ -# gitea -- https://docs.gitea.com/installation/install-with-docker -################################################################################ - -networks: - gitea_net: - driver: bridge - -services: -# --- Gitea --- - server: - image: docker.gitea.com/gitea:1.25.4 - container_name: gitea - environment: - - USER_UID=1000 - - USER_GID=1000 - - GITEA__database__DB_TYPE=postgres - - GITEA__database__HOST=db:5432 - - GITEA__database__NAME=gitea - - GITEA__database__USER=gitea - - GITEA__database__PASSWD=gitea - restart: always - networks: - - gitea_net - volumes: - - "${GITEA_HOME}/data:/data" - - "/etc/timezone:/etc/timezone:ro" - - "/etc/localtime:/etc/localtime:ro" - ports: - - "3001:3000" - - "222:22" - depends_on: - - db - -# --- Gitea postgres db --- - db: - image: docker.io/library/postgres:14 - restart: always - environment: - - POSTGRES_USER=gitea - - POSTGRES_PASSWORD=gitea - - POSTGRES_DB=gitea - networks: - - gitea_net - volumes: - - "${GITEA_HOME}/postgres:/var/lib/postgresql/data" - -# --- Gitea Actions Runner --- - runner: - image: gitea/act_runner:latest - container_name: gitea_runner - restart: always - environment: - - GITEA_INSTANCE_URL=https://git.wompmacho.com - - GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_RUNNER_TOKEN} - - GITEA_RUNNER_NAME=gitea-runner-01 - - CONFIG_FILE=/data/config.yaml - volumes: - - "${GITEA_HOME}/runner:/data" - - "/srv/www:/deploy" - - "/srv/configs:/assets" - - "/var/run/docker.sock:/var/run/docker.sock" - networks: - - gitea_net - depends_on: - - server - -# --- Nginx Web Server (Public) --- - docs-public: - image: nginx:alpine - container_name: docs-public - restart: always - ports: - - "9895:80" - volumes: - - "/srv/www/docs-public:/usr/share/nginx/html:ro" - networks: - - gitea_net - -# --- Nginx Web Server (Private) --- - docs-private: - image: nginx:alpine - container_name: docs-private - restart: always - ports: - - "9897:80" - volumes: - - "/srv/www/docs-private:/usr/share/nginx/html:ro" - networks: - - gitea_net +{{% include "/srv/configs/docker_compose/gitea/docker-compose.yaml" %}} ``` ## setup