The WorkspaceSettings
object in the workspace/settings.py
file defines common settings used by your apps and resources. Here are the settings we recommend updating:
WorkspaceSettings
can also be updated using environment variables or the .env
file.
Checkout the example.env
file for an example.
The ws_name
is used to name your apps and resources. Change it to your project or team name, for example:
ws_name="booking-ai"
ws_name="reddit-ai"
ws_name="vantage-ai"
The ws_name
is used to name:
Checkout the workspace/dev_resources.py
and workspace/prd_resources.py
file to see how its used.
The image_repo
defines the repo for your image.
phidata
.[ACCOUNT_ID].dkr.ecr.us-east-1.amazonaws.com
Checkout the dev_image
in workspace/dev_resources.py
and prd_image
in workspace/prd_resources.py
to see how its used.
Setting build_images=True
will build images locally when running phi ws up dev:docker
or phi ws up prd:docker
.
Checkout the dev_image
in workspace/dev_resources.py
and prd_image
in workspace/prd_resources.py
to see how its used.
Read more about:
Setting push_images=True
will push images after building when running phi ws up dev:docker
or phi ws up prd:docker
.
Checkout the dev_image
in workspace/dev_resources.py
and prd_image
in workspace/prd_resources.py
to see how its used.
Read more about:
The aws_region
and subnet_ids
provide values used for creating production resources. Checkout the workspace/prd_resources.py
file to see how its used.
The WorkspaceSettings
object in the workspace/settings.py
file defines common settings used by your apps and resources. Here are the settings we recommend updating:
WorkspaceSettings
can also be updated using environment variables or the .env
file.
Checkout the example.env
file for an example.
The ws_name
is used to name your apps and resources. Change it to your project or team name, for example:
ws_name="booking-ai"
ws_name="reddit-ai"
ws_name="vantage-ai"
The ws_name
is used to name:
Checkout the workspace/dev_resources.py
and workspace/prd_resources.py
file to see how its used.
The image_repo
defines the repo for your image.
phidata
.[ACCOUNT_ID].dkr.ecr.us-east-1.amazonaws.com
Checkout the dev_image
in workspace/dev_resources.py
and prd_image
in workspace/prd_resources.py
to see how its used.
Setting build_images=True
will build images locally when running phi ws up dev:docker
or phi ws up prd:docker
.
Checkout the dev_image
in workspace/dev_resources.py
and prd_image
in workspace/prd_resources.py
to see how its used.
Read more about:
Setting push_images=True
will push images after building when running phi ws up dev:docker
or phi ws up prd:docker
.
Checkout the dev_image
in workspace/dev_resources.py
and prd_image
in workspace/prd_resources.py
to see how its used.
Read more about:
The aws_region
and subnet_ids
provide values used for creating production resources. Checkout the workspace/prd_resources.py
file to see how its used.