30 lines
599 B
YAML
30 lines
599 B
YAML
version: '3'
|
|
services:
|
|
online-energieausweis:
|
|
build: ./
|
|
container_name: online-energieausweis
|
|
command: pnpm run dev --host
|
|
links:
|
|
- db
|
|
environment:
|
|
PORT: 3000
|
|
DB_CONNECTION: "db"
|
|
DB_PORT: 5432
|
|
NODE_ENV: "development"
|
|
ports:
|
|
- 3000:3000
|
|
volumes:
|
|
- ./:/online-energieausweis
|
|
- ./node_modules/@ibcornelsen/ui:/online-energieausweis/node_modules/@ibcornelsen/ui
|
|
networks:
|
|
- postgres
|
|
db:
|
|
build: ../database
|
|
ports:
|
|
- "5436:5432"
|
|
networks:
|
|
- postgres
|
|
|
|
networks:
|
|
postgres:
|
|
driver: bridge |