-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy.yaml
More file actions
45 lines (42 loc) · 1.34 KB
/
deploy.yaml
File metadata and controls
45 lines (42 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Faragate deployment configuration (default)
platform: "fargate"
app_name: "project-name"
aws:
profile: "aws-profile-name"
region: "us-east-2"
public:
domain: "project-name.domain.com"
task:
cpu: 1024
memory: 2048
spot: true
replicas: 1
ephemeral_storage: 21
# Change this to true after you set the name of this project.
allow_create: false
# ============================================================================
# S3 DEPLOYMENT CONFIGURATION (Alternative)
# ============================================================================
# To deploy to S3 instead of Faragate, replace the above configuration with:
#
# platform: "s3"
# app_name: "project-name"
# aws:
# profile: "aws-profile-name"
# region: "us-east-2"
# public:
# domain: "project-name.domain.com"
# bucket: "project-name-bucket"
#
# # Change this to true after you set the name of this project.
# allow_create: false
#
# IMPORTANT: When deploying to S3, you also need to:
# 1. Update next.config.js to use static export:
# - Set output: 'export'
# - Set distDir: 'dist'
# - Set trailingSlash: true
# - Set images.unoptimized: true
# 2. The build will output to the 'dist' folder instead of '.next'
# 3. The deploy script will upload the contents of the 'dist' folder to S3
# ============================================================================