

They provide decent defaults for all the not-so-straightforward configurations, and they provide a web UI to configure the rest. That’s the sole reason I would recommend it to get one’s feet wet without having to work too much.
If one is committed to do things “the right way” they could switch to Nginx and “proper” self-hosting later.
Here’s my config for reference, which works for me:
name: forgejo services: forgejo: image: codeberg.org/forgejo/forgejo:12 environment: - USER_UID=1000 - USER_GID=1000 restart: always volumes: - ./data:/data - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro ports: #- 80:3000 - 2222:22 networks: - nginx networks: nginx: name: nginx external: true
If you can share your error message we might be able to better pinpoint the issue.
EDIT: I searched a bit and now I understand better what you are trying to do. I didn’t know about this “SSH shim” idea. This is not what I have done on my setup, sorry.