This guide runs Gogs using Docker Compose.
services:
gogs:
image: gogs/gogs:latest
ports:
- "3001:3000"
- "2222:22"
volumes:
- ./data:/data
Save it as docker-compose.yml.
docker compose up -d
Visit http://your-server:3001 and complete the install wizard.
Feel free to contact us. Find all contact information on our contact page.