Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # The manifest for the "survey-api" service.
- # Read the full specification for the "Load Balanced Web Service" type at:
- # https://aws.github.io/copilot-cli/docs/manifest/lb-web-service/
- name: service-name
- type: Backend Service
- image:
- build: Dockerfile
- port: 8000
- cpu: 256
- memory: 512
- platform: linux/arm64
- count: 1
- exec: true
- command: gunicorn -k gevent --bind 0.0.0.0:8000 survey_api.wsgi:application
- variables:
- // Key-value pairs of environment variables to set for the container.
- environments:
- staging:
- variables:
- ENVIRONMENT: staging
- // Key-value pairs of environment variables to set for the container.
- production:
- cpu: 1024
- memory: 2048
- count:
- range: 1-5
- cooldown:
- in: 30s
- out: 30s
- cpu_percentage: 70
- memory_percentage: 80
- variables:
- ENVIRONMENT: production
- // Key-value pairs of environment variables to set for the container.
Advertisement
Add Comment
Please, Sign In to add comment