mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Disable auto-migrate in docker container (#5730)
This commit is contained in:
		| @@ -30,12 +30,6 @@ for FOLDER in /data/gitea/conf /data/gitea/log /data/git /data/ssh; do | |||||||
|     mkdir -p ${FOLDER} |     mkdir -p ${FOLDER} | ||||||
| done | done | ||||||
|  |  | ||||||
| if [ -f /data/gitea/conf/app.ini ]; then |  | ||||||
|     echo "Found app.ini config file, migrating database" |  | ||||||
|     chown -R ${USER_UID}:${USER_GID} /data/git /data/gitea |  | ||||||
|     su - ${USER} -c gitea migrate -c /data/gitea/conf/app.ini |  | ||||||
| fi |  | ||||||
|  |  | ||||||
| if [ $# -gt 0 ]; then | if [ $# -gt 0 ]; then | ||||||
|     exec "$@" |     exec "$@" | ||||||
| else | else | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 techknowlogick
					techknowlogick