Devmode
This commit is contained in:
parent
00633347f4
commit
9d0cd7e89b
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
__pycache__
|
||||||
|
|
||||||
|
/data/*
|
23
docker-compose.yml
Normal file
23
docker-compose.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# This file is for development!!
|
||||||
|
# docker compose up
|
||||||
|
# See https://git.chai.uni-hamburg.de/UMS-Agenten/Agent-Template for production usage!
|
||||||
|
|
||||||
|
services:
|
||||||
|
management:
|
||||||
|
image: git.chai.uni-hamburg.de/ums-agenten/management:arm64
|
||||||
|
#image: git.chai.uni-hamburg.de/ums-agenten/management:amd64
|
||||||
|
ports:
|
||||||
|
- 8080:80
|
||||||
|
environment:
|
||||||
|
- AGENTS_PROCESS=http://agent_process_1:3001,http://agent_process_2:3001
|
||||||
|
- AGENTS_SOLVE=http://agent_solve_1:3001
|
||||||
|
- AGENTS_GATEKEEPER=http://agent_gatekeeper_1:3001
|
||||||
|
volumes:
|
||||||
|
- ./data/share/:/ums-agent/share/
|
||||||
|
- ./data/persist-management/:/ums-agenten/persist/
|
||||||
|
# bind code from host to container (for development)
|
||||||
|
- ./ums/:/ums-agenten/plattform/ums/:ro
|
||||||
|
- ./web/:/ums-agenten/plattform/web/:ro
|
||||||
|
# enable auto reloading (for development)
|
||||||
|
entrypoint: bash -c "nginx; uvicorn ums.management.main:app --uds /tmp/uvicorn.sock --proxy-headers --reload"
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user