haiky DB
This commit is contained in:
3
haikyDB/.env
Normal file
3
haikyDB/.env
Normal file
@@ -0,0 +1,3 @@
|
||||
POSTGRES_DB=haiky
|
||||
POSTGRES_USER=haiky
|
||||
POSTGRES_PASSWORD=xieng7Seih
|
||||
13
haikyDB/docker-compose.yml
Normal file
13
haikyDB/docker-compose.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:latest
|
||||
container_name: haikydb
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "15432:5432"
|
||||
volumes:
|
||||
- ${PWD}/haikydb-data:/var/lib/postgresql/data
|
||||
Reference in New Issue
Block a user