forked from toolshed/docs.coopcloud.tech
		
	recipe service overriding docs
This commit is contained in:
		@ -530,3 +530,11 @@ archive, tooling will unzip files in the archive back to those paths.
 | 
			
		||||
 | 
			
		||||
In the case of restoring database tables, you can use the `pre-hook` &
 | 
			
		||||
`post-hook` commands to run the insertion logic.
 | 
			
		||||
 | 
			
		||||
## Can I override a service within a recipe?
 | 
			
		||||
 | 
			
		||||
You can use [this `docker-compose` trick](https://docs.docker.com/compose/extends/#understanding-multiple-compose-files) to do this.
 | 
			
		||||
 | 
			
		||||
If you have a recipe that is using a `mysql` service and you'd like to use `postgresql` instead, you can create a `compose.psql.yml`!
 | 
			
		||||
 | 
			
		||||
An example of this is the [`selfoss`](https://git.coopcloud.tech/coop-cloud/selfoss) recipe. The default is `sqlite` but there is a `postgresql` compose configuration there too.
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user