mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-24 00:42:59 +08:00
updated config
This commit is contained in:
parent
93c10bb38a
commit
3b13325742
1 changed files with 4 additions and 4 deletions
|
@ -17,15 +17,15 @@ services:
|
|||
volumes:
|
||||
- ./backend/:/app
|
||||
expose:
|
||||
- 7000
|
||||
- 8000
|
||||
ports:
|
||||
- 7000:7000
|
||||
- 8000:8000
|
||||
depends_on:
|
||||
- felicity_db
|
||||
networks:
|
||||
- felicitynet
|
||||
command: bash -c "cd felicity_lims && alembic upgrade head && uvicorn felicity.main:flims --host 0.0.0.0 --port 7000"
|
||||
#command: bash -c "cd felicity_lims && gunicorn --workers 4 --bind 0.0.0.0:7000 -k uvicorn.workers.UvicornWorker --reload felicity.main:flims"
|
||||
#command: bash -c "cd felicity_lims && alembic upgrade head && uvicorn felicity.main:flims --host 0.0.0.0 --port 7000"
|
||||
command: bash -c "cd felicity_lims && alembic upgrade head && ./runtests.sh && ./runserver.sh"
|
||||
|
||||
felicity_db:
|
||||
container_name: felicity_db
|
||||
|
|
Loading…
Reference in a new issue