Created
June 14, 2019 09:03
-
-
Save toanalien/b75a5a1e4f65b6289285df15ee9523ba to your computer and use it in GitHub Desktop.
create admin gogs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker-compose exec --user git web bash | |
export USER=git | |
cd /app/gogs | |
./gogs admin create-user --name tmpuser --password tmppassword --admin --email [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment