bgruening / docker-galaxy

:whale::bar_chart::books: Docker Images tracking the stable Galaxy releases.
http://bgruening.github.io/docker-galaxy
MIT License
226 stars 134 forks source link

Unstable running of standalone galaxy setup as Azure App Service #591

Closed kdudani-tibco closed 3 days ago

kdudani-tibco commented 2 years ago

Dear Team,

I am trying to run standalone galaxy setup as a docker container inside Azure App Service

However, I am able to see with the docker logs the docker container is spinned up very well and the instance is started successfully. But when I try to hit the URL, I always keep getting 403 Forbidden error (nginx/1.14.0 (Ubuntu).

I tried running with 20.09v, 20.05v and observe this forbidden page error.

P.S.: I do not see this error when I ran of version 18.05 (which is deprecated and no longer maintained). So this proves that the setup works, however not with the latest versions. P.N. : I am first trying to run stateless docker service in-order to explore if it is possible to run on Azure app service.

Can you please guide me, over what extra settings do I need to enable in-order to run this setup successfully as Azure app service ?

/ Technical docker logs snippet / 2021-12-22T14:23:06.310Z INFO - 4fdde884cea1 Pull complete 2021-12-22T14:23:06.363Z INFO - Digest: sha256:732c679ae81ed2beb432eab3cb5963961e956e49f17d34a6d046481882e67cae 2021-12-22T14:23:06.406Z INFO - Status: Downloaded newer image for bgruening/galaxy-stable:20.05 2021-12-22T14:23:06.410Z INFO - Pull Image successful, Time taken: 1 Minutes and 28 Seconds 2021-12-22T14:23:06.417Z INFO - Starting container for site 2021-12-22T14:23:06.417Z INFO - docker run -d -p 80:80 --name hv-dev-galaxyspike-setp2_0_2894b443 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=hv-dev-galaxyspike-setp2 -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=hv-dev-galaxyspike-setp2.azurewebsites.net -e WEBSITE_INSTANCE_ID=c4337dec1052eb77ea10d359c20adb051da99f1c23f01eed78ad0f8da8b4065e bgruening/galaxy-stable:20.05

2021-12-22T14:23:06.417Z INFO - Logging is not enabled for this container. Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here. 2021-12-22T14:23:16.838Z INFO - Initiating warmup request to container hv-dev-galaxyspike-setp2_0_2894b443 for site hv-dev-galaxyspike-setp2 2021-12-22T14:23:32.465Z INFO - Waiting for response to warmup request for container hv-dev-galaxyspike-setp2_0_2894b443. Elapsed time = 15.6272845 sec 2021-12-22T14:23:47.712Z INFO - Waiting for response to warmup request for container hv-dev-galaxyspike-setp2_0_2894b443. Elapsed time = 30.8738667 sec 2021-12-22T14:24:03.011Z INFO - Waiting for response to warmup request for container hv-dev-galaxyspike-setp2_0_2894b443. Elapsed time = 46.172761 sec 2021-12-22T14:24:09.037Z INFO - Container hv-dev-galaxyspike-setp2_0_2894b443 for site hv-dev-galaxyspike-setp2 initialized successfully and is ready to serve requests.

bgruening commented 3 days ago

The new 24.1 image contains a lot of changes and reflects the latest developments in Galaxy. I would like to close this PR, but please feel free to reopen and rebase against the latest version.

Please give it a try:

docker run -p 8080:80 -p 8021:21 -p 4002:4002 --privileged=true -e "GALAXY_DESTINATIONS_DEFAULT=slurm_cluster_docker"   -v /tmp/galaxy-data/:/export/ quay.io/bgruening/galaxy:24.1

... or any other combination. The readme has been updated. Please add any useful tip to it.

For a list of changes, see the Changelog.