1
0
mirror of https://github.com/alexandrev/xslt-lab.git synced 2026-09-13 08:43:16 +00:00
Files
xslt-lab/docker-compose.yml
T
2025-07-01 21:35:11 +02:00

38 lines
728 B
YAML

version: '3.8'
services:
db:
image: postgres:15
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: xslt
volumes:
- db_data:/var/lib/postgresql/data
ports:
- "5432:5432"
backend:
build: ./backend
environment:
DATABASE_URL: postgres://postgres:postgres@db/xslt?sslmode=disable
GOOGLE_APPLICATION_CREDENTIALS: /firebase/credentials.json
volumes:
- ./config:/firebase:ro
ports:
- "8000:8000"
depends_on:
- db
frontend:
build:
context: ./frontend
environment:
VITE_BACKEND_URL: http://localhost:8000
ports:
- "3000:80"
depends_on:
- backend
volumes:
db_data: