computer-playbook/roles/docker-wordpress/handlers/main.yml

15 lines
457 B
YAML
Raw Normal View History

---
2023-09-11 18:17:10 +02:00
- name: rebuild wordpress container
command:
cmd: docker build --no-cache -t custom_wordpress .
2023-12-05 18:45:26 +01:00
chdir: "{{docker_compose_instance_directory}}"
2023-09-11 18:17:10 +02:00
environment:
COMPOSE_HTTP_TIMEOUT: 600
DOCKER_CLIENT_TIMEOUT: 600
- name: recreate wordpress
command:
2023-04-19 00:03:13 +02:00
cmd: docker-compose -p wordpress up -d --force-recreate
2023-12-05 18:45:26 +01:00
chdir: "{{docker_compose_instance_directory}}"
environment:
COMPOSE_HTTP_TIMEOUT: 600
2023-09-11 18:17:10 +02:00
DOCKER_CLIENT_TIMEOUT: 600