-
Notifications
You must be signed in to change notification settings - Fork 12
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
1 parent
419e4f4
commit 8f8f26c
Showing
3 changed files
with
19 additions
and
4 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,11 @@ | ||
# iAtlas PostgreSQL | ||
|
||
## Build the Docker image | ||
|
||
``` | ||
nx build-image iatlas-postgres | ||
``` | ||
|
||
## References | ||
|
||
- https://github.com/generalui/postgres_docker |
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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
-- iatlas | ||
CREATE USER iatlas WITH ENCRYPTED PASSWORD 'changeme'; | ||
-- sqlfluff:dialect:postgres | ||
CREATE USER iatlas | ||
WITH | ||
ENCRYPTED PASSWORD 'changeme'; | ||
|
||
CREATE DATABASE iatlas; | ||
|
||
GRANT ALL PRIVILEGES ON DATABASE iatlas TO iatlas; |
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