This commit is contained in:
Magnus Bender 2024-10-04 22:42:30 +02:00
parent 00633347f4
commit 9d0cd7e89b
Signed by: bender
GPG Key ID: 5149A211831F2BD7
2 changed files with 26 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
__pycache__
/data/*

23
docker-compose.yml Normal file
View 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"