enables cf-journex

The deployment in its current form is a hotfix. At the moment, quite a few changes to the sub-repo cf-journex are necessary.
This commit is contained in:
2026-01-16 14:46:40 +01:00
committed by Jannik Kramer
parent 4dabb97c59
commit d4f4944f11
3 changed files with 29 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ services:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- ./sites/:/etc/caddy/sites/:ro
- /ansible_docker_compose/project_data/reverse-proxy/caddy/data:/data
- journex_frontend_dist:/srv/journex:ro
env_file:
- .env
networks:
@@ -22,3 +23,7 @@ services:
networks:
caddy_net:
name: caddy_net
volumes:
journex_frontend_dist:
name: journex_frontend_dist

View File

@@ -52,3 +52,25 @@ enricher.cortex.consider-funding.de {
}
}
}
# cf-journex (static files from shared volume)
journex.cortex.consider-funding.de {
import oauth2 journex.cortex.consider-funding.de {
route {
@apiExact path /api
redir @apiExact /api/
handle_path /api/* {
reverse_proxy journex-backend:7000
}
handle /uploads/* {
reverse_proxy journex-backend:7000
}
root * /srv/journex
try_files {path} /index.html
file_server
}
}
}

View File

@@ -11,5 +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
- name: cf-journex
files_directory: ../docker_compose_applications/cf-journex