Code-Sprint/Obtener-Datos-1/compose.yaml
diqueran a24ba9b4d1 Actualización de Fase 1
Se ha cambiado la base de datos a Postgres SQL, además se han realizado algunos cambios de lógica.
2025-10-28 15:41:24 +01:00

18 lines
426 B
YAML

services:
postgres:
image: postgres:15
container_name: adicciones_postgres
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: adicciones
ports:
- "5433:5432"
volumes:
- ./pg_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5