20 lines
496 B
Markdown
Raw Normal View History

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