initiate repo
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16
|
||||
container_name: antrian_operasi
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_USER: rssa
|
||||
POSTGRES_PASSWORD: supersecret
|
||||
POSTGRES_DB: antrian_operasi
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U rssa -d antrian_operasi"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
Reference in New Issue
Block a user