docker compose for postgres

This commit is contained in:
2024-12-10 00:51:44 -08:00
parent 581d4bbffe
commit a9d659dc37
4 changed files with 19 additions and 0 deletions

15
docker-compose.yml Normal file
View File

@@ -0,0 +1,15 @@
services:
postgres:
image: postgres:latest
container_name: postgres-uplifting-api
ports:
- "5401:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
volumes:
- ./postgres-data:/var/lib/postgresql/data
volumes:
postgres-data: