Skip to content

Commit

Permalink
support auto select zone
Browse files Browse the repository at this point in the history
  • Loading branch information
xiao201208 committed Feb 23, 2024
1 parent 0e19b5a commit 676463a
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,20 @@ Parameters:
en: VSwitch Availability Zone1
zh-cn: 交换机可用区1
AssociationProperty: ALIYUN::ECS::Instance::ZoneId
AssociationPropertyMetadata:
AutoSelectFirst: true
ExclusiveTo:
- Zone2
Zone2:
Type: String
Label:
en: VSwitch Availability Zone2
zh-cn: 交换机可用区2
AssociationProperty: ALIYUN::ECS::Instance::ZoneId
AssociationPropertyMetadata:
AutoSelectFirst: true
ExclusiveTo:
- Zone1
EcsInstanceType:
Type: String
Label:
Expand Down Expand Up @@ -326,7 +334,7 @@ Resources:
cd server
pip3 install --upgrade pip
pip3 install -r requirements.txt
pip3 install uwsgi
pip3 install uwsgi==2.0.22
sed -i "s/socket=127.0.0.1:5000/http=0.0.0.0:8000/g" uwsgi.ini
uwsgi uwsgi.ini
Queue:
Expand Down

0 comments on commit 676463a

Please sign in to comment.