# The manifest for the "fe" service. # Read the full specification for the "Load Balanced Web Service" type at: # https://aws.github.io/copilot-cli/docs/manifest/lb-web-service/ # Your service name will be used in naming your resources like log groups, ECS services, etc. name: fe # The "architecture" of the service you're running. type: Load Balanced Web Service image: build: ./Dockerfile port: 80 http: false nlb: port: 443/tls count: 5 cpu: 256 memory: 512 # Optional fields for more advanced use-cases. variables: # Pass environment variables as key value pairs. LOG_LEVEL: info # You can override any of the values defined above by environment. environments: test: nlb: healthcheck: port: 80 additional_listeners: - port: 8081/tcp network: connect: true dev: http: path: '/' deregistration_delay: 30s nlb: port: 81/tcp additional_listeners: - port: 8082/tcp target_port: 8085 deregistration_delay: 59s count: spot: 5 prod: http: false nlb: port: 443/tls target_container: tls alias: nlb.example.com additional_listeners: - port: 8081/TLS - port: 8082/tcp target_port: 8085 target_container: tls - port: 8083/TCP target_port: 85 count: 5 sidecars: tls: port: 82 image: 1234567890.dkr.ecr.us-west-2.amazonaws.com/proxy:${TAG} nginx: port: 85 image: 1234567890.dkr.ecr.us-west-2.amazonaws.com/proxy:${TAG}