Initial commit — Умный Байт landing
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
container_name: umbyte-postgres
|
||||
environment:
|
||||
POSTGRES_USER: umbyte
|
||||
POSTGRES_PASSWORD: umbyte_dev_password
|
||||
POSTGRES_DB: umbyte
|
||||
ports:
|
||||
- '5432:5432'
|
||||
volumes:
|
||||
- umbyte_pg_data:/var/lib/postgresql/data
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ['CMD-SHELL', 'pg_isready -U umbyte']
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
volumes:
|
||||
umbyte_pg_data:
|
||||
Reference in New Issue
Block a user