23 lines
543 B
YAML
23 lines
543 B
YAML
services:
|
|
frontend:
|
|
build:
|
|
context: .
|
|
dockerfile: ./Dockerfile
|
|
environment:
|
|
- PORT=${WEB_PORT}
|
|
ports:
|
|
- ${WEB_PORT}:${WEB_PORT}
|
|
volumes:
|
|
- ./src:/app/src
|
|
- ./static:/app/static
|
|
- ./vite.config.js:/app/vite.config.js
|
|
- ./tsconfig.json:/app/tsconfig.json
|
|
- ./svelte.config.js:/app/svelte.config.js
|
|
db:
|
|
image: postgres:16
|
|
environment:
|
|
- POSTGRES_PASSWORD=${PG_PASS}
|
|
ports:
|
|
- ${PG_PORT}:5432
|
|
volumes:
|
|
- ./postgres:/var/lib/postgresql/data |