mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-23 08:58:33 +00:00
gogs - add setup-docker
This commit is contained in:
parent
08d8bc8804
commit
bf58a17b8a
1 changed files with 10 additions and 0 deletions
10
examples/gogs/setup-docker.sh
Executable file
10
examples/gogs/setup-docker.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ $(id -u) -ne 0 ] ; then
|
||||
echo "❌ Run me as root"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
chown -R root:101 bw-data
|
||||
find ./bw-data -type f -exec chmod 0660 {} \;
|
||||
find ./bw-data -type d -exec chmod 0770 {} \;
|
||||
Loading…
Reference in a new issue