Files
gob-alert/docker-compose.override.yml
alexandrump 82f3464565 first commit
2026-02-09 01:02:53 +01:00

32 lines
633 B
YAML

version: '3.8'
services:
api:
build:
context: ./apps/api
volumes:
- ./apps/api:/usr/src/app
- /usr/src/app/node_modules
environment:
DATABASE_URL: postgres://gob:gobpass@postgres:5432/gob_alert
NODE_ENV: development
command: npm run dev
ports:
- "3000:3000"
depends_on:
- postgres
web:
build:
context: ./apps/web
volumes:
- ./apps/web:/usr/src/app
- /usr/src/app/node_modules
environment:
API_URL: http://api:3000
NODE_ENV: development
command: npm run dev
ports:
- "3001:3000"
depends_on:
- api