2120ac81ad2b2d5b737fb023b7667313d6588296
Gitea Docker Setup
This is a Docker Compose configuration for running Gitea with PostgreSQL.
Prerequisites
- Docker Desktop for Windows
- Docker Compose
Configuration
The setup includes:
- Gitea running on port 3000 (http://localhost:3000)
- SSH access on port 222
- PostgreSQL database
- Persistent data storage for both Gitea and PostgreSQL
Getting Started
- Make sure Docker Desktop is running
- Open a terminal in this directory
- Run
docker-compose up -d - Access Gitea at http://localhost:3000
- During first-time setup:
- Database settings are pre-configured
- Set your domain to
localhostor your IP (192.168.0.33) - Set SSH port to 222
Stopping the Services
To stop the services, run:
docker-compose down
Data Persistence
All data is stored in:
./gitea/- Gitea data./postgres/- PostgreSQL data
Description
Languages
PowerShell
100%