- Gogs v0.13.x
- Postgres v16.x
- Stable version of Docker
- Compatible version of Docker Compose
docker compose up -d
- Build or rebuild services
docker compose build
- Create and start containers
docker compose up -d
- Stop and remove containers, networks
docker compose down
- Stop all services
docker compose stop
- Restart service containers
docker compose restart
- Run a command inside a container
docker compose exec [container] [command]
Gogs is a painless self-hosted Git service.
This project aims to build a simple, stable and extensible self-hosted Git service that can be setup in the most painless way. With Go, this can be done with an independent binary distribution across ALL platforms that Go supports, including Linux, macOS, Windows and ARM.