refcator: updare devcontainer
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres:18
|
||||
volumes:
|
||||
- db-data:/var/lib/postgresql
|
||||
ports:
|
||||
- 5432:5432
|
||||
env_file:
|
||||
- ../.env
|
||||
environment:
|
||||
TZ: Europe/Madrid
|
||||
POSTGRES_USER: ${POSTGRES_USER:-postgres}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
|
||||
POSTGRES_DB: ${POSTGRES_DB:-postgres}
|
||||
|
||||
app:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- 3000:3000
|
||||
volumes:
|
||||
- ..:/workspace:cached
|
||||
command: sleep infinity
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
volumes:
|
||||
db-data:
|
||||
Reference in New Issue
Block a user