initial commit
This commit is contained in:
commit
33e75c056f
77 changed files with 4329 additions and 0 deletions
23
packages/db/docker-compose.yml
Normal file
23
packages/db/docker-compose.yml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
name: minmon
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres
|
||||
container_name: minmon-postgres
|
||||
environment:
|
||||
POSTGRES_DB: minmon
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: password
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- minmon_postgres_data:/var/lib/postgresql
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
minmon_postgres_data:
|
||||
Loading…
Add table
Add a link
Reference in a new issue