Can't set docker user admin

Hello,

I built the docker by the commands:

git clone -b release_22.05 https://github.com/galaxyproject/galaxy.git
cd galaxy
docker build -f .k8s_ci.Dockerfile . --tag galaxy/galaxy:latest

Following the Galaxy Administration:

cd config
cp galaxy.yml.sample galaxy.yml

I changed the line to:

admin_users: myemail@gmail.com

And run the docker:
docker run -d -p 8080:8080 --name galaxy --volume "galaxy_storage":/galaxy/server galaxy/galaxy:latest

I don’t see the Admin menu item in the top menu bar.

I even tried this command:
docker run -d -p 8080:8080 --name galaxy --volume "galaxy_storage":/galaxy/server --env ADMIN_USERS=myemail@gmail.com galaxy/galaxy:latest

And I also recreated docker after making the galaxy.yml file, but it did not succeed.

Please help me fix that. Thank you very much!

Fixed!

I must log in the docker to change the file:

docker ps

08e7ca37e116 galaxy/galaxy:latest “tini – /bin/sh -c …” 18 minutes ago Up 18 minutes 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp galaxy

docker exec -u 0 -it 08e7ca37e116 /bin/bash
nano config/galaxy.yml

Add this line to the file and save:
admin_users: myemail@gmail.com

1 Like