mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Volumed data setup changed to allow #1759
- Volumed subfolder now created up in the ENTRYPOINT script, this way they are created before S6 even starts making VOLUME. - The subfolder will be created during VOLUME creation too as ENTRYPOINT script will be run before /bin/true - SSH Keys will now be created on a single key basis not replying on the existence of /data/ssh folder
This commit is contained in:
		| @@ -1,11 +1,7 @@ | ||||
| #!/bin/sh | ||||
|  | ||||
| if ! test -d /data/gogs; then | ||||
|     mkdir -p /data/gogs/data /data/gogs/conf /data/gogs/log /data/git | ||||
| fi | ||||
|  | ||||
| if ! test -d ~git/.ssh; then | ||||
|     mkdir ~git/.ssh | ||||
|     mkdir -p ~git/.ssh | ||||
|     chmod 700 ~git/.ssh | ||||
| fi | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user