I’m using GOGS installed on a stack within an AWS to serve private catalogs.
Within the docker-compose files I have been using the IP address of the GOGS server to create images. For example,
myservice:
build: http://10.0.1.2/project/myproject.git#master
I would like to use an AWS private zone record entry, so I created one with an A record pointing to the GOGS server, which I can now ping by name from an AWS terminal. So I setup the docker-compose file with the DNS name, e.g
myservice:
build: http://mydnsname.com/project/myproject.git#master
But when deploying the catlog the service gets a 502 error trying the access the GOGS repo.
Anything else that needs to be configured?