-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
14 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM bitnami/postgresql:15.6.0 | ||
USER postgres | ||
WORKDIR /docker-entrypoint-initdb.d | ||
COPY postgres-script.sql . | ||
# RUN chmod -R 777 /var/lib/postgresql/data | ||
# docker run -e POSTGRESQL_PASSWORD=password -u 999999:0 custom-postgresql:v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CREATE DATABASE openmetadata_db; | ||
CREATE DATABASE airflow_db; | ||
CREATE USER openmetadata_user WITH PASSWORD 'openmetadata_password'; | ||
CREATE USER airflow_user WITH PASSWORD 'airflow_pass'; | ||
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; |
This file was deleted.
Oops, something went wrong.