StableDiffusion/infra/start.sh
Carlos Chinchilla 535d370de0 add pulumi
2023-05-15 11:17:21 -05:00

10 lines
400 B
Bash
Executable file

source .env
rm -rf ./app
rsync --exclude='.' --recursive --copy-links ../ ./app
pulumi config set name $NAME --stack dev
pulumi config set project $PROJECT --stack dev
pulumi config set region $REGION --stack dev
pulumi config set node_count $NODE_COUNT --stack dev
pulumi config set machine_type $MACHINE_TYPE --stack dev
pulumi config set replicas $REPLICAS --stack dev
pulumi up --yes --stack dev