jwildeboer,
@jwildeboer@social.wildeboer.net avatar

Yay! Got git via ssh working on my test instance that runs as container in Podman on a RHEL box with full protection.

cloudguy,

@jwildeboer setenv=hero

jwildeboer, (edited )
@jwildeboer@social.wildeboer.net avatar

The TL;DR version:

  • Create a pod in podman with 2 port forwards, one for web host:8010 to pod:3000, one for ssh host:8012 to pod:22
  • Pull current forgejo container with podman pull codeberg.org/forgejo/forgejo:1.20
  • create forgejo container in that pod
  • add reverse proxy setup in nginx on host
  • Configure forgejo with browser
  • open host:8012 on firewall
  • git clone ssh://host.domain.name:8012/myuser/myrepo.git on my laptop
  • Happy :)
alexanderadam,

@jwildeboer do you have the setup available as an playbook or so?
I'm looking forward to something similar but with instead.

joelving,
@joelving@mastodon.joelving.dk avatar

@jwildeboer
Just did that on my Hetzner Ubuntu VM a couple of days ago. Easy as pie (once I remembered the firewall). 😂

joelving,
@joelving@mastodon.joelving.dk avatar

@jwildeboer
That's a solid onboarding experience. Setup was quite straightforward.
Looking forward to runners maturing, so I can ditch Github altogether.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • InstantRegret
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • rosin
  • everett
  • Durango
  • Youngstown
  • slotface
  • cubers
  • kavyap
  • ngwrru68w68
  • ethstaker
  • JUstTest
  • mdbf
  • Leos
  • GTA5RPClips
  • osvaldo12
  • tester
  • modclub
  • khanakhh
  • cisconetworking
  • provamag3
  • anitta
  • normalnudes
  • megavids
  • lostlight
  • All magazines