-
Notifications
You must be signed in to change notification settings - Fork 0
Docker Swarm deployment file
Kjell Petersen edited this page Dec 4, 2020
·
5 revisions
There is only one version-controlled Docker Swarm deployment file for all the services, where different parts are used in different contexts (inside TSD, outside TSD on the proxy server, in CI/CD at GitHub)
The main template file to use.
- Download the
docker-template.yml
file from GitHub. - Upload file using https://data.tst.usit.no to the correct TSD project.
- Log in to TSD and move file from
/tsd/pXX/data/durable/file-api
to thedata/durable/DEPLOYMENT-FOLDER-PATH
. - Make sure the file is 'rwx' for the group.
Depending on the context, modify the file to:
- Enable only the relevant services, disable irrelevant services.
- Configure ENVIRONMENT variables settings.
- Configure special mount paths (if applicable).
- Facilitate needed secrets to the docker instance.
See separate page for doing these modfications for the "TSD VM backend" context.