-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.py
59 lines (57 loc) · 1.74 KB
/
settings.py
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
from pathlib import Path
from phidata.workspace.settings import WorkspaceSettings
#
# -*- Define workspace settings using the WorkspaceSettings class
#
ws_settings = WorkspaceSettings(
# Workspace name: used for naming cloud resources
ws_name="dp001",
# Workspace git repo url: used to git-sync DAGs and Charts
ws_repo="https://github.com/phidatahq/aws-dp-template.git",
# Path to the workspace root
ws_root=Path(__file__).parent.parent.resolve(),
# -*- Dev settings
dev_env="dev",
# -*- Dev Apps
dev_jupyter_enabled=True,
dev_airflow_enabled=True,
dev_postgres_enabled=True,
# dev_superset_enabled=True,
# dev_traefik_enabled=True,
# -*- Production settings
prd_env="prd",
# Production branch: used for git-sync
# prd_branch: str = "main",
# Domain for the production platform
prd_domain="dp001.xyz",
# -*- Production Apps
prd_airflow_enabled=True,
prd_jupyter_enabled=True,
prd_superset_enabled=True,
prd_traefik_enabled=True,
prd_whoami_enabled=True,
# prd_postgres_enabled=True,
# -*- AWS settings
# Region for AWS resources
aws_region="us-east-1",
# Availability Zones for AWS resources
aws_az1="us-east-1a",
aws_az2="us-east-1b",
# Subnet IDs for AWS resources
subnet_ids=None,
# Security Groups for AWS resources
security_groups=None,
# -*- Image Settings
# Repository for images
# image_repo="your-repo",
# Suffix added to the image name
image_suffix="aws-dp",
# Build images locally
# build_images=True,
# Push images after building
# push_images=True,
# Skip cache when building images
# skip_image_cache=False,
# Force pull images in FROM
# force_pull_images=False,
)