mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Refactored docker rroles dto use new role docker-compose
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
---
|
||||
- name: recreate and build roulette-wheel
|
||||
command:
|
||||
cmd: docker-compose -p roulette-wheel up -d --force-recreate --build
|
||||
chdir: "{{docker_compose_instance_directory}}"
|
||||
environment:
|
||||
COMPOSE_HTTP_TIMEOUT: 600
|
||||
DOCKER_CLIENT_TIMEOUT: 600
|
@@ -1,2 +1,2 @@
|
||||
dependencies:
|
||||
- nginx-docker-reverse-proxy
|
||||
- docker-compose
|
||||
|
@@ -13,7 +13,7 @@
|
||||
repo: "https://github.com/kevinveenbirkenbach/roulette-wheel.git"
|
||||
dest: "{{app_path}}"
|
||||
update: yes
|
||||
notify: recreate and build roulette-wheel
|
||||
notify: docker compose project setup
|
||||
become: true
|
||||
register: git_result
|
||||
ignore_errors: true
|
||||
@@ -25,8 +25,8 @@
|
||||
|
||||
- name: add docker-compose.yml
|
||||
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
||||
notify: recreate and build roulette-wheel
|
||||
notify: docker compose project setup
|
||||
|
||||
- name: add Dockerfile
|
||||
template: src=Dockerfile.j2 dest={{docker_compose_instance_directory}}Dockerfile
|
||||
notify: recreate and build roulette-wheel
|
||||
notify: docker compose project setup
|
||||
|
@@ -1,2 +1,3 @@
|
||||
docker_compose_instance_directory: "{{path_docker_compose_instances}}roulette-wheel/"
|
||||
app_path: "{{path_docker_compose_instances}}roulette-wheel/app/"
|
||||
docker_compose_project_name: "roulette-wheel"
|
||||
docker_compose_instance_directory: "{{path_docker_compose_instances}}{{docker_compose_project_name}}/"
|
||||
app_path: "{{docker_compose_instance_directory}}/app/"
|
Reference in New Issue
Block a user