Working Swarm Deployment

I’ve used Gitea on other public instances and really love it. I’ve had some issues setting up Gitea in my swarm cluster. Namely once I deploy a basic stack with ENV VARS set for the url, features, etc it will take me to the install page. Even if I enter the URL for my public facing instance (ie https://git.mydomain.com) it seems like it continues to want to listen on tcp:3000 and prefers that to be exposed.

As some context, I have this sitting in front of Traefik with both ssh ports and ssl ports setup for termination and passthrough to the backend.

My hopes were that I could find a working Swarm Gitea setup as a reference to unblock my efforts.

I think you need a shared volume to store the configuration file of Gitea.