mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-11-04 04:29:13 +00:00 
			
		
		
		
	* Fix #8208: OpenMetadata server supports Postgres 15 * fix: PSQL 15 Initial scripts to make database owners for permissions * Update to generic base image tag * fix: type for airflow username --------- Co-authored-by: Akash Jain <15995028+akash-jain-10@users.noreply.github.com> Co-authored-by: Akash-Jain <Akash.J@deuexsolutions.com>
This commit is contained in:
		
							parent
							
								
									402f4bc04c
								
							
						
					
					
						commit
						43e06357a2
					
				@ -1,4 +1,4 @@
 | 
			
		||||
FROM postgres:14
 | 
			
		||||
FROM postgres:15
 | 
			
		||||
WORKDIR /docker-entrypoint-initdb.d
 | 
			
		||||
COPY docker/postgresql/postgres-script.sql .
 | 
			
		||||
RUN chmod -R 775 /docker-entrypoint-initdb.d
 | 
			
		||||
@ -2,7 +2,7 @@ CREATE DATABASE openmetadata_db;
 | 
			
		||||
CREATE DATABASE airflow_db;
 | 
			
		||||
CREATE USER openmetadata_user WITH PASSWORD 'openmetadata_password';
 | 
			
		||||
CREATE USER airflow_user WITH PASSWORD 'airflow_pass';
 | 
			
		||||
GRANT ALL PRIVILEGES ON DATABASE openmetadata_db TO openmetadata_user;
 | 
			
		||||
GRANT ALL PRIVILEGES ON DATABASE airflow_db TO airflow_user;
 | 
			
		||||
ALTER DATABASE openmetadata_db OWNER TO openmetadata_user;
 | 
			
		||||
ALTER DATABASE airflow_db OWNER TO airflow_user;
 | 
			
		||||
ALTER USER airflow_user SET search_path = public;
 | 
			
		||||
commit;
 | 
			
		||||
@ -39,7 +39,7 @@ You can refer a sample script [here](https://github.com/open-metadata/OpenMetada
 | 
			
		||||
 | 
			
		||||
{%/note%}
 | 
			
		||||
 | 
			
		||||
## Postgres (version between 12.0 and 14.6)
 | 
			
		||||
## Postgres (version between 12.0 or greater)
 | 
			
		||||
 | 
			
		||||
To install Postgres see the instructions for your operating system (OS) at [Postgres Download](https://www.postgresql.org/download/) 
 | 
			
		||||
{%note%}
 | 
			
		||||
 | 
			
		||||
@ -228,7 +228,7 @@ We support
 | 
			
		||||
 | 
			
		||||
- Amazon RDS (MySQL) engine version 8 or greater
 | 
			
		||||
- Amazon OpenSearch (ElasticSearch) engine version upto 7.10 or Amazon OpenSearch engine version upto 1.3
 | 
			
		||||
- Amazon RDS (PostgreSQL) engine version between 12 and 14.6
 | 
			
		||||
- Amazon RDS (PostgreSQL) engine version 12 or greater
 | 
			
		||||
 | 
			
		||||
Note:-
 | 
			
		||||
    When using AWS Services the SearchType Configuration for elastic search should be `opensearch`, for both cases ElasticSearch and OpenSearch,
 | 
			
		||||
 | 
			
		||||
@ -233,7 +233,7 @@ We support
 | 
			
		||||
 | 
			
		||||
- Amazon RDS (MySQL) engine version 8 or greater
 | 
			
		||||
- Amazon OpenSearch (ElasticSearch) engine version upto 7.10 or Amazon OpenSearch engine version upto 1.3
 | 
			
		||||
- Amazon RDS (PostgreSQL) engine version between 12 and 14.6
 | 
			
		||||
- Amazon RDS (PostgreSQL) engine version between 12 or greater
 | 
			
		||||
 | 
			
		||||
Note:-
 | 
			
		||||
    When using AWS Services the SearchType Configuration for elastic search should be `opensearch`, for both cases ElasticSearch and OpenSearch,
 | 
			
		||||
 | 
			
		||||
@ -676,7 +676,7 @@
 | 
			
		||||
              </includes>
 | 
			
		||||
              <systemPropertyVariables>
 | 
			
		||||
                <jdbcContainerClassName>org.testcontainers.containers.PostgreSQLContainer</jdbcContainerClassName>
 | 
			
		||||
                <jdbcContainerImage>postgres:12.10</jdbcContainerImage>
 | 
			
		||||
                <jdbcContainerImage>postgres:15.3</jdbcContainerImage>
 | 
			
		||||
              </systemPropertyVariables>
 | 
			
		||||
            </configuration>
 | 
			
		||||
          </execution>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user