added postgres db
This commit is contained in:
@@ -28,5 +28,14 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
volumes:
|
|
||||||
- ./backend:/app
|
db:
|
||||||
|
image: postgres:16
|
||||||
|
container_name: db
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: postgres
|
||||||
|
POSTGRES_PASSWORD: password
|
||||||
|
POSTGRES_DB: simplebackend
|
||||||
|
ports:
|
||||||
|
- 5432:5432
|
||||||
|
|||||||
Reference in New Issue
Block a user