Commit 9a569d6 1 parent b9cbf40 commit 9a569d6 Copy full SHA for 9a569d6
File tree 1 file changed +7
-10
lines changed
1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -8,20 +8,17 @@ services:
8
8
9
9
api :
10
10
container_name : ' kernelci-api'
11
- build :
12
- context : ' docker/api'
13
- args :
14
- - REQUIREMENTS=${REQUIREMENTS:-requirements.txt}
15
- - core_rev=${CORE_REV:-main}
16
- volumes :
17
- - ' ./api:/home/kernelci/api'
18
- - ' ./tests:/home/kernelci/tests'
19
- - ' ./migrations:/home/kernelci/migrations'
20
- - ' ./templates:/home/kernelci/templates'
11
+ image : ${KERNELCI_API_IMAGE:-kernelci/staging-api}:${KERNELCI_API_TAG:-latest}
21
12
ports :
22
13
- ' ${API_HOST_PORT:-8001}:8000'
23
14
env_file :
24
15
- ' .env'
16
+ command :
17
+ - ' uvicorn'
18
+ - ' api.main:versioned_app'
19
+ - ' --host'
20
+ - ' 0.0.0.0'
21
+ - ' --reload'
25
22
26
23
db :
27
24
container_name : ' kernelci-api-db'
You can’t perform that action at this time.
0 commit comments