apps: - name: gob-alert-postgres image: postgres:15-alpine env: POSTGRES_USER: ${POSTGRES_USER} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} POSTGRES_DB: ${POSTGRES_DB} - name: gob-alert-redis image: redis:7-alpine - name: gob-alert-api context: ./apps/api dockerfile: Dockerfile env: - key: DATABASE_URL value: ${DATABASE_URL} - key: API_ADMIN_KEY value: ${API_ADMIN_KEY} ports: - 3000 - name: gob-alert-web context: ./apps/web dockerfile: Dockerfile env: - key: API_URL value: ${API_URL} ports: - 3000 notes: | This file provides a simple mapping for Coolify to build and deploy services from this repository. Set required variables in Coolify (Project → Environment Variables): - POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_DB - DATABASE_URL (example: postgres://gob:***@gob-alert-postgres:5432/gob_alert) - API_ADMIN_KEY - API_URL (example: http://gob-alert-api:3000) For production, keep the API internal (no public domain) and attach the domain to the web service.