imports journex
This commit is contained in:
@@ -57,6 +57,14 @@ Deploy or refresh Docker Compose applications after configuration changes or whe
|
|||||||
ansible-playbook -i inventories/hetzner playbooks/04-compose-up.yml
|
ansible-playbook -i inventories/hetzner playbooks/04-compose-up.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Deploy cf-journex only
|
||||||
|
|
||||||
|
Deploy only the `cf-journex` Docker Compose stack without touching other services.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
ansible-playbook -i inventories/hetzner playbooks/06-deploy-cf-journex.yml
|
||||||
|
```
|
||||||
|
|
||||||
### Rebuild Caddy
|
### Rebuild Caddy
|
||||||
|
|
||||||
Rebuild and reload Caddy only. Useful when reverse proxy configuration changed and full service restarts should be avoided.
|
Rebuild and reload Caddy only. Useful when reverse proxy configuration changed and full service restarts should be avoided.
|
||||||
|
|||||||
@@ -11,3 +11,5 @@ docker_compose__projects:
|
|||||||
files_directory: ../docker_compose_applications/transcript-pseudomizer-api
|
files_directory: ../docker_compose_applications/transcript-pseudomizer-api
|
||||||
- name: transcript-pseudomizer-frontend
|
- name: transcript-pseudomizer-frontend
|
||||||
files_directory: ../docker_compose_applications/transcript-pseudomizer-frontend
|
files_directory: ../docker_compose_applications/transcript-pseudomizer-frontend
|
||||||
|
# - name: cf-journex
|
||||||
|
# files_directory: ../docker_compose_applications/cf-journex
|
||||||
|
|||||||
35
playbooks/06-deploy-cf-journex.yml
Normal file
35
playbooks/06-deploy-cf-journex.yml
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
- name: Deploy cf-journex only
|
||||||
|
hosts: cit-docker-host
|
||||||
|
tasks:
|
||||||
|
- name: Run docker compose down for cf-journex
|
||||||
|
ansible.builtin.command:
|
||||||
|
cmd: /usr/bin/docker compose --project-directory "/ansible_docker_compose/projects/cf-journex" --project-name "cf-journex" down
|
||||||
|
chdir: "/ansible_docker_compose/projects/cf-journex"
|
||||||
|
become: true
|
||||||
|
changed_when: true
|
||||||
|
|
||||||
|
- name: Deploy cf-journex project files
|
||||||
|
ansible.posix.synchronize:
|
||||||
|
src: "../docker_compose_applications/cf-journex/"
|
||||||
|
dest: "/ansible_docker_compose/projects/cf-journex/"
|
||||||
|
mode: push
|
||||||
|
archive: false
|
||||||
|
copy_links: false
|
||||||
|
delete: true
|
||||||
|
dirs: false
|
||||||
|
existing_only: false
|
||||||
|
recursive: true
|
||||||
|
owner: false
|
||||||
|
group: false
|
||||||
|
perms: true
|
||||||
|
links: true
|
||||||
|
times: false
|
||||||
|
verify_host: true
|
||||||
|
become: true
|
||||||
|
|
||||||
|
- name: Run docker compose up for cf-journex
|
||||||
|
ansible.builtin.command:
|
||||||
|
cmd: /usr/bin/docker compose --project-directory "/ansible_docker_compose/projects/cf-journex" --project-name "cf-journex" up --detach --pull always --build --force-recreate
|
||||||
|
chdir: "/ansible_docker_compose/projects/cf-journex"
|
||||||
|
become: true
|
||||||
|
changed_when: true
|
||||||
Reference in New Issue
Block a user