mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00:00 
			
		
		
		
	Implemented a new docker compose structure which seperates between docker compose files and environment variable file to protect credentials better. Also did recatoring. Changes not fully tested
This commit is contained in:
		
							
								
								
									
										14
									
								
								roles/docker-openproject/templates/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								roles/docker-openproject/templates/Dockerfile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| FROM openproject/community:{{applications.openproject.version}} | ||||
|  | ||||
| # If installing a local plugin (using `path:` in the `Gemfile.plugins` above), | ||||
| # you will have to copy the plugin code into the container here and use the | ||||
| # path inside of the container. Say for `/app/vendor/plugins/openproject-slack`: | ||||
| # COPY /path/to/my/local/openproject-slack /app/vendor/plugins/openproject-slack | ||||
|  | ||||
| COPY Gemfile.plugins /app/ | ||||
|  | ||||
| # If the plugin uses any external NPM dependencies you have to install them here. | ||||
| # RUN npm add npm <package-name>* | ||||
|  | ||||
| RUN bundle config unset deployment && bundle install && bundle config set deployment 'true' | ||||
| RUN ./docker/prod/setup/postinstall.sh | ||||
		Reference in New Issue
	
	Block a user