Skip to content
Snippets Groups Projects
Commit efd08928 authored by Finn-Lucas Ziehe's avatar Finn-Lucas Ziehe
Browse files

Merge branch 'celery-dashboard' into 'master'

Add delete celery-dashboard container before deploy

See merge request !119
parents 64d4d5be 28951775
No related branches found
No related tags found
1 merge request!119Add delete celery-dashboard container before deploy
Pipeline #46097 passed with warnings
......@@ -235,8 +235,8 @@ deploy-production:
script:
# deploy to server
- docker pull $APPIMAGE
- docker stop $APP_CONTAINER_NAME $CELERY_CONTAINER_NAME $CELERY_DASHBOARD_NAME|| true
- docker rm --force $APP_CONTAINER_NAME $CELERY_CONTAINER_NAME || true
- docker stop $APP_CONTAINER_NAME $CELERY_CONTAINER_NAME $CELERY_DASHBOARD_NAME || true
- docker rm --force $APP_CONTAINER_NAME $CELERY_CONTAINER_NAME $CELERY_DASHBOARD_NAME || true
# start application container
- docker run -d -p 127.0.0.1:2184:8000 --name=$APP_CONTAINER_NAME --network=$NETWORK_NAME --restart=always -v "${SHARED_VOLUME}" "${APPIMAGE}"
# start celery container
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment