File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ RUN dnf -y install \
1313 libtool-ltdl-devel \
1414 libpq-devel \
1515 libpq \
16- postgresql
16+ postgresql \
17+ git
1718
1819RUN python3.11 -m venv /venv
1920
Original file line number Diff line number Diff line change @@ -9,23 +9,30 @@ services:
99 - " 55432:5432"
1010
1111 test_app :
12- build :
12+ build : &build_info
1313 context : .
1414 working_dir : /src
1515 command : ' ./test_app/scripts/container_startup_uwsgi.sh'
1616 volumes :
1717 - ' .:/src:z'
1818 ports :
1919 - ' 8000:8000'
20- depends_on :
20+ depends_on : &depends_info
2121 postgres :
2222 condition : service_healthy
23- environment :
23+ environment : &env_info
2424 DB_HOST : postgres
2525 DB_PORT : 5432
2626 DB_USER : dab
2727 DB_PASSWORD : dabing
2828
29+ test_app_task :
30+ build : *build_info
31+ working_dir : /src
32+ command : ' python manage.py run_dispatcher'
33+ depends_on : *depends_info
34+ environment : *env_info
35+
2936 # This is the intermediate application reverse proxy without ssl
3037 nginx :
3138 image : " nginx:latest"
You can’t perform that action at this time.
0 commit comments