Skip to content

Instantly share code, notes, and snippets.

@jsonw23
Created April 6, 2022 21:20
Show Gist options
  • Save jsonw23/7bd042d6b6b0885768274452f2c01b43 to your computer and use it in GitHub Desktop.
Save jsonw23/7bd042d6b6b0885768274452f2c01b43 to your computer and use it in GitHub Desktop.
# The manifest for the "admin" service.
# Read the full specification for the "Request-Driven Web Service" type at:
# https://aws.github.io/copilot-cli/docs/manifest/rd-web-service/
# Your service name will be used in naming your resources like log groups, App Runner services, etc.
name: admin
# The "architecture" of the service you're running.
type: Request-Driven Web Service
image:
# Docker build arguments.
# For additional overrides: https://aws.github.io/copilot-cli/docs/manifest/rd-web-service/#image-build
build: Dockerfile
# Port exposed through your container to route traffic to it.
port: 8080
# http:
# healthcheck:
# path: /
# healthy_threshold: 3
# unhealthy_threshold: 5
# interval: 10s
# timeout: 5s
# Number of CPU units for the task.
cpu: 1024
# Amount of memory in MiB used by the task.
memory: 2048
# # Connect your App Runner service to your environment's VPC.
# network:
# vpc:
# placement: private
# Optional fields for more advanced use-cases.
#
# variables: # Pass environment variables as key value pairs.
# LOG_LEVEL: info
#
# tags: # Pass tags as key value pairs.
# project: project-name
# You can override any of the values defined above by environment.
environments:
test:
variables:
AUTH_DOMAIN: ${AUTH_DOMAIN}
AUTH_CLIENT_ID: ${AUTH_CLIENT_ID}
AUTH_CLIENT_SECRET: ${AUTH_CLIENT_SECRET}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment