Stop running containers before upgrading
This commit is contained in:
parent
986307a73f
commit
a12e431d63
1 changed files with 6 additions and 0 deletions
|
|
@ -34,6 +34,12 @@
|
|||
- { src: 'templates/sentry.conf.j2', dest: '{{ app_dir }}/sentry/sentry.conf.py' }
|
||||
- { src: 'templates/sentry.config.j2', dest: '{{ app_dir }}/sentry/config.yml' }
|
||||
|
||||
- name: stop running containers
|
||||
docker_compose:
|
||||
project_src: '{{ app_dir }}'
|
||||
env_file: '{{ app_dir }}/.env'
|
||||
state: absent
|
||||
|
||||
# Note: run `docker-compose run --rm web export > backup.json` before upgrading
|
||||
# TODO: tag other sentry images aswell
|
||||
# can be ran multiple times to upgrade sentry
|
||||
|
|
|
|||
Reference in a new issue