feat: add Docker Compose configuration for PostgreSQL and Nginx services
This commit is contained in:
12
compose-include/db-compose.yml
Normal file
12
compose-include/db-compose.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres:latest # Usa la imagen precreada de PostgreSQL
|
||||
environment:
|
||||
POSTGRES_USER: user
|
||||
POSTGRES_PASSWORD: password
|
||||
POSTGRES_DB: mydatabase
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
Reference in New Issue
Block a user