/
PostmenBlake
/
NotificationPreferencesService
Обзор
Документация
Войти
/
PostmenBlake
/
NotificationPreferencesService
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
docker-compose.yml
40 строк
898 B
kurava
feat: initial commit - Notification Preferences Service
17 июн 2026, 09:11
17 июн 2026, 09:11
48825c3
Код
Авторство
О чём код?
version: '3.8' services: postgres: image: postgres:15-alpine container_name: notification_preferences_db environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres POSTGRES_DB: notification_preferences ports: - "5432:5432" volumes: - postgres_data:/var/lib/postgresql/data - ./migrations:/docker-entrypoint-initdb.d healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 10s timeout: 5s retries: 5 app: build: . container_name: notification_preferences_app environment: DB_HOST: postgres DB_PORT: 5432 DB_NAME: notification_preferences DB_USER: postgres DB_PASSWORD: postgres PORT: 3000 ports: - "3000:3000" depends_on: postgres: condition: service_healthy restart: unless-stopped volumes: postgres_data: