services: - type: web name: ecommerce-app env: python runtime: python pythonVersion: "3.9.6" buildCommand: "./build.sh" startCommand: "gunicorn ecommerce.wsgi:application --bind 0.0.0.0:$PORT" healthCheckPath: / envVars: - key: SECRET_KEY generateValue: true - key: DEBUG value: "False" - key: DATABASE_URL fromDatabase: name: ecommerce-postgres property: connectionString - key: WEB_CONCURRENCY value: "4" databases: - name: ecommerce-postgres databaseName: ecommerce_db user: ecommerce_user plan: free