mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Refactored docker rroles dto use new role docker-compose
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
---
|
||||
- name: recreate baserow
|
||||
command:
|
||||
cmd: docker-compose -p baserow up -d --force-recreate
|
||||
chdir: "{{path_docker_compose_instances}}baserow/"
|
||||
environment:
|
||||
COMPOSE_HTTP_TIMEOUT: 600
|
||||
DOCKER_CLIENT_TIMEOUT: 600
|
@@ -1,2 +1,2 @@
|
||||
dependencies:
|
||||
- nginx-docker-reverse-proxy
|
||||
- docker-compose
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
- name: add docker-compose.yml
|
||||
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
||||
notify: recreate baserow
|
||||
notify: docker compose project setup
|
||||
|
||||
- name: add env
|
||||
template:
|
||||
@@ -18,4 +18,4 @@
|
||||
dest: "{{docker_compose_instance_directory}}env"
|
||||
mode: '770'
|
||||
force: yes
|
||||
notify: recreate baserow
|
||||
notify: docker compose project setup
|
@@ -9,8 +9,8 @@ services:
|
||||
env_file:
|
||||
- ./env
|
||||
volumes:
|
||||
- baserow_data:/baserow/data
|
||||
- data:/baserow/data
|
||||
ports:
|
||||
- "{{http_port}}:80"
|
||||
volumes:
|
||||
baserow_data:
|
||||
data:
|
@@ -1 +1,2 @@
|
||||
docker_compose_instance_directory: "{{path_docker_compose_instances}}baserow/"
|
||||
docker_compose_project_name: "baserow"
|
||||
docker_compose_instance_directory: "{{path_docker_compose_instances}}{{docker_compose_project_name}}/"
|
Reference in New Issue
Block a user