# Gitea

# What is Gitea?

GiteaGit을 관리하기 위한 플랫폼으로 Self-hosted로 설치를 통해 Git Repository 프로젝트를 관리할 수 있습니다.

Gitea Screenshot
Gitea Screenshot

# Prerequisites


# Install

version: '3.7'
services:
 gitea:
   image: gitea/gitea:1.19.4-linux-amd64
   container_name: gitea
   restart: unless-stopped
   environment:
     - USER_UID=1000
     - USER_GID=1000
   volumes:
     - ./gitea_data:/data
     - /etc/timezone:/etc/timezone:ro
     - /etc/localtime:/etc/localtime:ro
   ports:
     - "3000:3000"
     - "22:22"
   env_file:
     - ./.env
 gitea-runner:
   image: gitea/act_runner:0.2.3
   restart: unless-stopped
   depends_on:
     - gitea
   volumes:
     - ./act_runner:/data
     - /var/run/docker.sock:/var/run/docker.sock
   environment:
     - GITEA_INSTANCE_URL=https://repo.taking.kr
     - GITEA_RUNNER_REGISTRATION_TOKEN=token
     - GITEA_RUNNER_NAME=gitea-runner

# gitea

GITEA__mailer__ENABLED=true
GITEA__mailer__FROM={your_gmail_account}
GITEA__mailer__MAILER_TYPE=smtp
GITEA__mailer__HOST=smtp.gmail.com:465
GITEA__mailer__IS_TLS_ENABLED=false
GITEA__mailer__USER={your_gmail_account}
GITEA__mailer__PASSWD={your_gmail_application_password}

That's it! 🎉


# memo