3
0
This commit is contained in:
Magnus Bender 2024-10-08 14:08:07 +02:00
parent 990ca271ca
commit e1c2e8fb2b
Signed by: bender
GPG Key ID: 5149A211831F2BD7
2 changed files with 8 additions and 4 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
/data/
.DS_Store

View File

@ -15,9 +15,9 @@ services:
volumes:
# all data is bind-mounted from ./data on the host into the containers
# the folder *share* is shared with all agents, it can be used to pass large data via files
- /data/share/:/ums-agent/share/
- ./data/share/:/ums-agenten/share/
# the folder *persist* is different for each container and can be used to store data permanently
- /data/persist-management/:/ums-agenten/persist/
- ./data/persist-management/:/ums-agenten/persist/
agent_process_1:
# this allow to do installs etc. in the docker image (a new image will be built on top of the provided one)
@ -33,8 +33,8 @@ services:
# tell the agent where the management is accessible
- MANAGEMENT=http://management
volumes:
- /data/share/:/ums-agent/share/
- /data/persist-process-1/:/ums-agenten/persist/
- ./data/share/:/ums-agenten/share/
- ./data/persist-process-1/:/ums-agenten/persist/
# this is for development (s.t. the changes in ./src/ are directly applied)
- ./src/:/ums-agenten/project/src/:ro
entrypoint: ... # TODO