imports journex

This commit is contained in:
2026-01-15 12:06:47 +01:00
committed by Jannik Kramer
parent b1f33ec81e
commit 4dabb97c59
3 changed files with 45 additions and 0 deletions

View File

@@ -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
```
### 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 and reload Caddy only. Useful when reverse proxy configuration changed and full service restarts should be avoided.

View File

@@ -11,3 +11,5 @@ docker_compose__projects:
files_directory: ../docker_compose_applications/transcript-pseudomizer-api
- name: transcript-pseudomizer-frontend
files_directory: ../docker_compose_applications/transcript-pseudomizer-frontend
# - name: cf-journex
# files_directory: ../docker_compose_applications/cf-journex

View 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