mirror of
https://github.com/FranP-code/Reflecto.git
synced 2025-10-13 00:43:31 +00:00
App init
This commit is contained in:
23
apps/server/docker-compose.yml
Normal file
23
apps/server/docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Reflecto
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres
|
||||
container_name: Reflecto-postgres
|
||||
environment:
|
||||
POSTGRES_DB: Reflecto
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: password
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- Reflecto_postgres_data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
Reflecto_postgres_data:
|
||||
Reference in New Issue
Block a user