36 lines
1.3 KiB
YAML
36 lines
1.3 KiB
YAML
# Agenten Plattform
|
|
#
|
|
# (c) 2024 Magnus Bender
|
|
# Institute of Humanities-Centered Artificial Intelligence (CHAI)
|
|
# Universitaet Hamburg
|
|
# https://www.chai.uni-hamburg.de/~bender
|
|
#
|
|
# source code released under the terms of GNU Public License Version 3
|
|
# https://www.gnu.org/licenses/gpl-3.0.txt
|
|
|
|
# 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:
|
|
- 8000:80
|
|
environment:
|
|
- SOLUTION_MAX_TRIALS=5
|
|
- MANAGEMENT_URL=http://management:8000
|
|
- 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-agenten/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/
|
|
# enable auto reloading (for development)
|
|
entrypoint: bash -c "nginx; SERVE=true uvicorn ums.management.main:app --uds /tmp/uvicorn.sock --proxy-headers --reload"
|
|
|