Create drupal-with-postgresql.yaml
This commit is contained in:
		
							
								
								
									
										39
									
								
								templates/compose/drupal-with-postgresql.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								templates/compose/drupal-with-postgresql.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,39 @@ | |||||||
|  | # documentation: https://www.drupal.org/about | ||||||
|  | # slogan: Drupal is a free and open-source web content management system written in PHP and distributed under the GNU General Public License. | ||||||
|  | # tags: cms, blog, content, management, postgresql | ||||||
|  | # logo: svgs/drupal.svg | ||||||
|  |  | ||||||
|  | services: | ||||||
|  |   drupal: | ||||||
|  |     image: 'drupal:10-apache' | ||||||
|  |     environment: | ||||||
|  |       - SERVICE_FQDN_DRUPAL | ||||||
|  |       - DB_HOST=postgres | ||||||
|  |       - DB_NAME=postgres | ||||||
|  |       - DB_USER=postgres | ||||||
|  |       - DB_PASSWORD=$SERVICE_PASSWORD_POSTGRES | ||||||
|  |     volumes: | ||||||
|  |       - type: volume | ||||||
|  |         source: drupal_modules | ||||||
|  |         target: /var/www/html/modules | ||||||
|  |         is_directory: true | ||||||
|  |       - type: volume | ||||||
|  |         source: drupal_profiles | ||||||
|  |         target: /var/www/html/profiles | ||||||
|  |         is_directory: true | ||||||
|  |       - type: volume | ||||||
|  |         source: drupal_themes | ||||||
|  |         target: /var/www/html/themes | ||||||
|  |         is_directory: true | ||||||
|  |       - type: volume | ||||||
|  |         source: drupal_sites | ||||||
|  |         target: /var/www/html/sites | ||||||
|  |         is_directory: true | ||||||
|  |     depends_on: | ||||||
|  |       - postgres | ||||||
|  |     restart: always | ||||||
|  |   postgres: | ||||||
|  |     image: 'postgres:16' | ||||||
|  |     environment: | ||||||
|  |       - POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES | ||||||
|  |     restart: always | ||||||
		Reference in New Issue
	
	Block a user
	 Emircan ERKUL
					Emircan ERKUL