Skip to content
Snippets Groups Projects
Commit 9549be7a authored by Ramesh Kumar's avatar Ramesh Kumar
Browse files

Merge branch 'master' into TMSS-847

parents 95dc0bfc 19e5baef
No related branches found
No related tags found
2 merge requests!634WIP: COBALT commissioning delta,!548Resolve TMSS-847
...@@ -465,8 +465,8 @@ deploy-tmss-ua: ...@@ -465,8 +465,8 @@ deploy-tmss-ua:
- cd SAS/TMSS - cd SAS/TMSS
- ssh lofarsys@tmss-ua.control.lofar "docker-compose -f docker-compose-ua.yml down" - ssh lofarsys@tmss-ua.control.lofar "docker-compose -f docker-compose-ua.yml down"
- scp docker-compose-ua.yml lofarsys@tmss-ua.control.lofar:~/ - scp docker-compose-ua.yml lofarsys@tmss-ua.control.lofar:~/
- ssh lofarsys@tmss-ua.control.lofar "docker pull ${CI_NEXUS_REGISTRY}/tmss_django:$CI_COMMIT_SHORT_SHA" - ssh lofarsys@tmss-ua.control.lofar "docker pull ${CI_NEXUS_REGISTRY_LOCATION}/tmss_django:$CI_COMMIT_SHORT_SHA"
- ssh lofarsys@tmss-ua.control.lofar "docker tag ${CI_NEXUS_REGISTRY}/tmss_django:$CI_COMMIT_SHORT_SHA ${CI_NEXUS_REGISTRY}/tmss_django:latest" - ssh lofarsys@tmss-ua.control.lofar "docker tag ${CI_NEXUS_REGISTRY_LOCATION}/tmss_django:$CI_COMMIT_SHORT_SHA ${CI_NEXUS_REGISTRY_LOCATION}/tmss_django:latest"
- ssh lofarsys@tmss-ua.control.lofar "docker-compose -f docker-compose-ua.yml up -d" - ssh lofarsys@tmss-ua.control.lofar "docker-compose -f docker-compose-ua.yml up -d"
needs: needs:
- dockerize_TMSS - dockerize_TMSS
......
...@@ -7,20 +7,29 @@ services: ...@@ -7,20 +7,29 @@ services:
ports: ports:
- 5672:5672 - 5672:5672
- 15672:15672 - 15672:15672
oidc-provider: django:
image: nexus.cep4.control.lofar:18080/tmss_testprovider:latest image: git.astron.nl:5000/ro/lofar/tmss_django:latest
restart: unless-stopped container_name: django-gunicorn
hostname: oidc-provider restart: always
volumes:
- static_volume:/opt/lofar/staticfiles
env_file: env_file:
- ./.env - ~/.lofar/.env
ports: command:
- "8088:8088" "/bin/bash -c 'source lofarinit.sh;
web: gunicorn lofar.sas.tmss.tmss.wsgi --worker-class=gevent --workers=4 --bind=0.0.0.0:8001'"
image: nexus.cep4.control.lofar:18080/tmss_django:latest depends_on:
hostname: tmss-ua - rabbitmq
restart: on-failure tmss-ua.control.lofar:
env_file: image: nginx:1.17
- ./.env container_name: ngx
command: bash -c 'source /opt/lofar/lofarinit.sh && ALLOWED_HOSTS=* tmss_test_environment -H 0.0.0.0 -P tmss-ua -p 8008 --data'
ports: ports:
- "8008:8008" - "8008:8008"
volumes:
- static_volume:/opt/lofar/staticfiles
- ~/.lofar/etc/nginx:/etc/nginx/conf.d
depends_on:
- django
volumes:
static_volume:
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment