mirror of
				https://git.tt-rss.org/fox/ttrss-docker-compose
				synced 2025-11-04 03:34:19 +01:00 
			
		
		
		
	copy config.php earlier so it gets chown-ed to app:app
This commit is contained in:
		
							parent
							
								
									99a7753d92
								
							
						
					
					
						commit
						2f293c9c59
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -54,6 +54,9 @@ else
 | 
				
			||||||
	  	git pull origin master || echo error: failed to update plugin repository.
 | 
						  	git pull origin master || echo error: failed to update plugin repository.
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cp ${SCRIPT_ROOT}/config.docker.php $DST_DIR/config.php
 | 
				
			||||||
 | 
					chmod 644 $DST_DIR/config.php
 | 
				
			||||||
 | 
					
 | 
				
			||||||
chown -R $OWNER_UID:$OWNER_GID $DST_DIR \
 | 
					chown -R $OWNER_UID:$OWNER_GID $DST_DIR \
 | 
				
			||||||
	/var/log/php8
 | 
						/var/log/php8
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -72,8 +75,6 @@ elif ! $PSQL -c 'select * from ttrss_version'; then
 | 
				
			||||||
	$PSQL < /var/www/html/tt-rss/schema/ttrss_schema_pgsql.sql
 | 
						$PSQL < /var/www/html/tt-rss/schema/ttrss_schema_pgsql.sql
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cp ${SCRIPT_ROOT}/config.docker.php $DST_DIR/config.php
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# this was previously generated
 | 
					# this was previously generated
 | 
				
			||||||
rm -f $DST_DIR/config.php.bak
 | 
					rm -f $DST_DIR/config.php.bak
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue