Kristóf Torma
b2dd062e6f
Some checks reported errors
continuous-integration/drone/push Build was killed
25 lines
447 B
YAML
25 lines
447 B
YAML
---
|
|
- name: Update service
|
|
command: docker-compose pull
|
|
args:
|
|
chdir: /home/service-user
|
|
|
|
- name: Shut down service
|
|
command: docker-compose down
|
|
args:
|
|
chdir: /home/service-user
|
|
|
|
- name: Start service
|
|
command: docker-compose up -d
|
|
args:
|
|
chdir: /home/service-user
|
|
|
|
- name: Prune everything
|
|
community.docker.docker_prune:
|
|
containers: true
|
|
images: true
|
|
networks: true
|
|
volumes: true
|
|
builder_cache: true
|
|
...
|