stacker.news/copilot/chat-web/manifest.yml

53 lines
2.1 KiB
YAML
Raw Normal View History

2024-04-13 00:14:36 +00:00
# The manifest for the "chat-web" 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: chat-web
type: Load Balanced Web Service
# Distribute traffic to your service.
http:
# Requests to this path will be forwarded to your service.
# To match all requests you can use the "/" path.
path: 'chat-web'
# You can specify a custom health check path. The default is "/".
healthcheck: '/'
# Configuration for your containers and service.
image:
build: ./chat-web/Dockerfile
# args:
# - USE_CUSTOM_SDKS: true
# - REACT_SDK_REPO: https://github.com/matrix-org/matrix-react-sdk.git
# - REACT_SDK_BRANCH: develop
# - JS_SDK_REPO: https://github.com/matrix-org/matrix-js-sdk.git
# - JS_SDK_BRANCH: develop
# Port exposed through your container to route traffic to it.
port: 80
cpu: 256 # Number of CPU units for the task.
memory: 512 # Amount of memory in MiB used by the task.
count: 1 # Number of tasks that should be running in your service.
exec: true # Enable running commands in your container.
platform: linux/x86_64
network:
connect: true # Enable Service Connect for intra-environment traffic between services.
# storage:
# readonly_fs: true # Limit to read-only access to mounted root filesystems.
# Optional fields for more advanced use-cases.
#
#variables: # Pass environment variables as key value pairs.
# LOG_LEVEL: info
#secrets: # Pass secrets from AWS Systems Manager (SSM) Parameter Store.
# GITHUB_TOKEN: GITHUB_TOKEN # The key is the name of the environment variable, the value is the name of the SSM parameter.
# You can override any of the values defined above by environment.
#environments:
# test:
# count: 2 # Number of tasks to run for the "test" environment.
# deployment: # The deployment strategy for the "test" environment.
# rolling: 'recreate' # Stops existing tasks before new ones are started for faster deployments.