# Gitea Actions CI/CD Docker Compose Override # This file provides CI-specific configurations for Gitea Actions version: '3.8' services: # Frontend service with CI optimizations frontend: build: context: . target: builder cache_from: - ${REGISTRY:-gitea.example.com}/${IMAGE_NAME:-rxminder}:buildcache args: # Use build args from CI environment - VITE_COUCHDB_URL=${VITE_COUCHDB_URL:-http://couchdb:5984} - VITE_COUCHDB_USER=${VITE_COUCHDB_USER:-admin} - VITE_COUCHDB_PASSWORD=${VITE_COUCHDB_PASSWORD:-change-this-secure-password} - APP_BASE_URL=${APP_BASE_URL:-http://localhost:8080} - VITE_GOOGLE_CLIENT_ID=${VITE_GOOGLE_CLIENT_ID:-} - VITE_GITHUB_CLIENT_ID=${VITE_GITHUB_CLIENT_ID:-} - NODE_ENV=production environment: - CI=true labels: - 'gitea.ci=true' - 'gitea.project=rxminder' # Test database for CI couchdb-test: image: couchdb:3.3.2 environment: - COUCHDB_USER=admin - COUCHDB_PASSWORD=test-secure-password ports: - '5985:5984' volumes: - couchdb_test_data:/opt/couchdb/data labels: - 'gitea.ci=true' - 'gitea.service=test-database' volumes: couchdb_test_data: driver: local