.gitconfig needs to be backed up
This commit is contained in:
parent
9c0c999166
commit
534bbf660f
|
@ -32,6 +32,7 @@ RUN mkdir -p /run/gogs && chown -R cloudron:cloudron /run/gogs
|
||||||
RUN mkdir -p /var/log/gogs && chown -R cloudron:cloudron /var/log/gogs
|
RUN mkdir -p /var/log/gogs && chown -R cloudron:cloudron /var/log/gogs
|
||||||
|
|
||||||
RUN ln -s /app/data/ssh /home/cloudron/.ssh
|
RUN ln -s /app/data/ssh /home/cloudron/.ssh
|
||||||
|
RUN ln -s /app/data/gitconfig /home/cloudron/.gitconfig
|
||||||
|
|
||||||
ADD start.sh /home/cloudron/start.sh
|
ADD start.sh /home/cloudron/start.sh
|
||||||
|
|
||||||
|
|
5
start.sh
5
start.sh
|
@ -33,9 +33,8 @@ sed -e "s/##HOSTNAME/${fqdn}/g" \
|
||||||
-e "s/##SECRET_KEY/$(pwgen -1 -s)/g" \
|
-e "s/##SECRET_KEY/$(pwgen -1 -s)/g" \
|
||||||
/home/cloudron/app.ini.template > "/run/gogs/app.ini"
|
/home/cloudron/app.ini.template > "/run/gogs/app.ini"
|
||||||
|
|
||||||
chown cloudron:cloudron /run/gogs
|
mkdir -p /app/data/repository /app/data/ssh
|
||||||
|
chown -R cloudron.cloudron /app/data /run/gogs
|
||||||
chown -R cloudron.cloudron /app/data
|
|
||||||
|
|
||||||
( setup_ldap_source ) &
|
( setup_ldap_source ) &
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue