mirror of
				https://github.com/hoellen/dockerfiles.git
				synced 2025-10-31 14:26:57 +00:00 
			
		
		
		
	ghost: fix config file
This commit is contained in:
		| @@ -10,13 +10,16 @@ rm -rf /ghost/content/themes/casper &>/dev/null | |||||||
| cp -r /ghost/casper themes/casper &>/dev/null | cp -r /ghost/casper themes/casper &>/dev/null | ||||||
| cd /ghost | cd /ghost | ||||||
|  |  | ||||||
| if [ ! -f /ghost/config.production.json ]; then | if [ ! -f /ghost/content/ghost.conf ]; then | ||||||
|   echo |   echo | ||||||
|   echo "INFO : No configuration file was provided, an example will be used" |   echo "INFO : No configuration file was provided, an example will be used" | ||||||
|   echo "       You can access and modify it in the volume you mounted" |   echo "       You can access and modify it in the volume you mounted" | ||||||
|   echo "       Restart in order to apply your changes!" |   echo "       Restart in order to apply your changes!" | ||||||
|   echo |   echo | ||||||
|   mv /usr/local/etc/ghost.example.conf /ghost/content/ghost.conf |   mv /usr/local/etc/ghost.example.conf /ghost/content/ghost.conf | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | if [ ! -f /ghost/config.production.json ]; then | ||||||
|   ln -s content/ghost.conf config.production.json |   ln -s content/ghost.conf config.production.json | ||||||
| fi | fi | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user