File tree Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ dependencies = [
31
31
# Linting and Formatting
32
32
" ruff" ,
33
33
# phidata
34
- " phidata[aws]==2.5.0a7 "
34
+ # "phidata[aws]==2.5.0a8 "
35
35
]
36
36
37
37
[build-system ]
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ packaging==24.1
44
44
pandas == 2.2.3
45
45
peewee == 3.17.6
46
46
pgvector == 0.3.5
47
- phidata [aws ]== 2.5.0a7
47
+ # phidata[aws]==2.5.0a8
48
48
platformdirs == 4.3.6
49
49
pluggy == 1.5.0
50
50
psycopg [binary ]== 3.1.18
Original file line number Diff line number Diff line change @@ -50,6 +50,15 @@ if [[ "$MIGRATE_DB" = true || "$MIGRATE_DB" = True ]]; then
50
50
echo " ++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
51
51
fi
52
52
53
+ # ###########################################################################
54
+ # Run phidata install script
55
+ # ###########################################################################
56
+
57
+ echo " ++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
58
+ echo " Running phidata install script"
59
+ bash /usr/local/phidata/scripts/install.sh
60
+ echo " ++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
61
+
53
62
# ###########################################################################
54
63
# Start App
55
64
# ###########################################################################
Original file line number Diff line number Diff line change 48
48
49
49
# -*- FastApi running on port 8000:8000
50
50
dev_fastapi = FastApi (
51
- name = ws_settings .ws_name ,
51
+ name = f" { ws_settings .ws_name } -api" ,
52
52
enabled = ws_settings .dev_api_enabled ,
53
53
image = dev_image ,
54
54
command = "uvicorn api.main:app --reload" ,
57
57
mount_workspace = True ,
58
58
env_vars = container_env ,
59
59
use_cache = ws_settings .use_cache ,
60
+ container_volumes = {
61
+ "/Users/zu/lab/phidata" : {"bind" : "/usr/local/phidata" , "mode" : "rw" },
62
+ },
60
63
# Read secrets from secrets/dev_api_secrets.yml
61
64
secrets_file = ws_settings .ws_root .joinpath ("workspace/secrets/dev_api_secrets.yml" ),
62
- depends_on = [dev_db ],
65
+ # depends_on=[dev_db],
63
66
)
64
67
65
68
# -*- Dev DockerResources
You can’t perform that action at this time.
0 commit comments