chore: update docker-compose.yml
This commit is contained in:
@@ -2,7 +2,7 @@ name: uplifting-api
|
|||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:latest
|
image: postgres:latest
|
||||||
container_name: postgres-uplifting-api
|
container_name: postgres
|
||||||
ports:
|
ports:
|
||||||
- "5401:5432"
|
- "5401:5432"
|
||||||
environment:
|
environment:
|
||||||
@@ -10,7 +10,7 @@ services:
|
|||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
POSTGRES_DB: postgres
|
POSTGRES_DB: postgres
|
||||||
volumes:
|
volumes:
|
||||||
- ~/databases/uplifting-api-postgres-data:/var/lib/postgresql
|
- pg-data:/var/lib/postgresql
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres-data:
|
pg-data:
|
||||||
|
|||||||
Reference in New Issue
Block a user