/
Sturon
/
Diplom
Обзор
Документация
Войти
/
Sturon
/
Diplom
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
docker-compose.yml
48 строк
1 KB
Sturon
Initial
03 июн 2026, 15:01
03 июн 2026, 15:01
17b44a2
Код
Авторство
О чём код?
services: postgres: image: postgres:16 restart: unless-stopped environment: POSTGRES_DB: inspection POSTGRES_USER: inspection POSTGRES_PASSWORD: inspection ports: - "5433:5432" volumes: - inspection-postgres-data:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U inspection -d inspection"] interval: 10s timeout: 5s retries: 10 backend: build: context: ./backend restart: unless-stopped depends_on: postgres: condition: service_healthy environment: SPRING_PROFILES_ACTIVE: postgres POSTGRES_URL: jdbc:postgresql://postgres:5432/inspection POSTGRES_USER: inspection POSTGRES_PASSWORD: inspection STORAGE_ROOT: /app/storage APP_FRONTEND_URL: http://localhost APP_SEED_DEMO_DATA: "true" volumes: - inspection-storage:/app/storage frontend: build: context: ./frontend restart: unless-stopped depends_on: - backend ports: - "80:80" volumes: inspection-postgres-data: inspection-storage: