# Docker compose setup for gogs
# Instructions
1. Execute on bash
```
sudo apt instal git -y
git clone https://molodetz.nl/retoor/gogs-docker-compose-setup.git
docker compose up
```
2. Configure using web interface (http://127.0.0.1:7331/):
- database name must be set to gogs-db
- database username must be set to gogs
- database password must be set to gogs
- choose built-in ssh service option and configure port to be 2222
That's all ! You have now a gogs server running dockerized!