Fix files data

This commit is contained in:
CHIEFSOFT\ameye
2025-07-15 17:26:46 -04:00
parent 6936e8af2e
commit 476794f5d3
4 changed files with 98 additions and 40 deletions
+20 -1
View File
@@ -1 +1,20 @@
A000002
---
- hosts: WHAT_HOST_IN_USE
tasks:
- name: Creates directory DESTINATION_FOLDER
ansible.builtin.file:
path: DESTINATION_FOLDER
state: directory
mode: 0775
recurse: yes
- name: Set up docker-compose file
template:
src: "WHAT_PART_LOCAL/docker-compose.yml"
dest: "DESTINATION_FOLDER"
- name: docker compose up
shell:
chdir: "DESTINATION_FOLDER/"
cmd: docker-compose up -d
+20 -1
View File
@@ -1 +1,20 @@
A000005
---
- hosts: WHAT_HOST_IN_USE
tasks:
- name: Creates directory DESTINATION_FOLDER
ansible.builtin.file:
path: DESTINATION_FOLDER
state: directory
mode: 0775
recurse: yes
- name: Set up docker-compose file
template:
src: "WHAT_PART_LOCAL/docker-compose.yml"
dest: "DESTINATION_FOLDER"
- name: docker compose up
shell:
chdir: "DESTINATION_FOLDER/"
cmd: docker-compose up -d
@@ -0,0 +1,20 @@
version: '3'
services:
openemr-WHAT_CONTAINER_NAME:
container_name: WHAT_CONTAINER_NAME
image: wordpress:latest
ports:
- 'ALLOCATED_PORT:80'
restart: always
volumes: ['DESTINATION_FOLDER:/var/www/html']
environment:
WORDPRESS_DB_HOST: CNT_DB_DATA
WORDPRESS_DB_USER: CNT_DB_NAME
WORDPRESS_DB_PASSWORD: CNT_DB_PASS
WORDPRESS_DB_NAME: CNT_DB_NAME
networks:
- wpsite
networks:
wpsite: