13 lines
294 B
YAML
13 lines
294 B
YAML
services:
|
|
db:
|
|
image: postgres:latest # Usa la imagen precreada de PostgreSQL
|
|
environment:
|
|
POSTGRES_USER: user
|
|
POSTGRES_PASSWORD: password
|
|
POSTGRES_DB: mydatabase
|
|
volumes:
|
|
- postgres_data-include:/var/lib/postgresql/data
|
|
|
|
volumes:
|
|
postgres_data-include:
|