Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5062aa8068 | ||
|
|
8a042589e7 | ||
|
|
3898b5ad45 | ||
|
|
9d15336144 |
+1
-3
@@ -1,7 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
container_name: mitai-db
|
container_name: mitai-db-prod
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: mitai_prod
|
POSTGRES_DB: mitai_prod
|
||||||
@@ -9,8 +9,6 @@ services:
|
|||||||
POSTGRES_PASSWORD: ${DB_PASSWORD:-change_me_in_production}
|
POSTGRES_PASSWORD: ${DB_PASSWORD:-change_me_in_production}
|
||||||
volumes:
|
volumes:
|
||||||
- mitai_postgres_data:/var/lib/postgresql/data
|
- mitai_postgres_data:/var/lib/postgresql/data
|
||||||
ports:
|
|
||||||
- "127.0.0.1:5432:5432"
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U mitai_prod"]
|
test: ["CMD-SHELL", "pg_isready -U mitai_prod"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
|
|||||||
Reference in new issue
Block a user