-
im trying to make automatic installation of gogs on podman container following this documentation, and looking at these configurations. but i cant find anywhere on the internet (except this, but it didnt worked for me) how to configure admin username + password from app.ini, or env variables. i dont want to install gogs cli, and use complicated curl requests. is there any way to configure from the beginning the admin credentials? |
Beta Was this translation helpful? Give feedback.
Answered by
zfrhv
May 17, 2022
Replies: 1 comment
-
nevermind, you dont need to install the gogs cli, its already built in the container. docker exec gogs /bin/bash -c 'USER=git /app/gogs/gogs admin create-user --admin --name admin --password admin123 --email admin@gmail.com' |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zfrhv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nevermind, you dont need to install the gogs cli, its already built in the container.
you can simply run: