Docker compose setup for gogs

Instructions

Just run:

docker compose up

On configuration page (http://127.0.0.1:7331/) configure:

  • choose built-in ssh service option and configure port to be 2222

That's all ! You have now a gogs server running dockerized!