Initial commit with postgresql in docker-compose
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
.idea
|
||||||
|
*.iml
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
services:
|
||||||
|
postgres:
|
||||||
|
image: postgres:17.2
|
||||||
|
environment:
|
||||||
|
POSTGRES_PASSWORD: 123
|
||||||
|
volumes:
|
||||||
|
- ./init.d/init-db.sql:/docker-entrypoint-initdb.d/init-db.sql
|
||||||
|
ports:
|
||||||
|
- '5432:5432'
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
create user qr_access_user with password '123';
|
||||||
|
|
||||||
|
create database qr_access with owner qr_access_user;
|
||||||
Reference in New Issue
Block a user