moves journex deployment from sub repo to GHCR

This commit is contained in:
2026-01-27 11:44:26 +01:00
parent 9ecc9fa5ca
commit 76642e8351
4 changed files with 81 additions and 21 deletions

View File

@@ -0,0 +1,51 @@
services:
frontend:
container_name: journex-frontend
image: ghcr.io/consider-it/journex-frontend:latest
restart: unless-stopped
networks:
- journex_net
- caddy_net
backend:
container_name: journex-backend
image: ghcr.io/consider-it/journex-backend:latest
restart: unless-stopped
env_file:
- .env
networks:
- journex_net
- caddy_net
pdf-fusion-extractor:
container_name: journex-pdf-fusion-extractor
image: ghcr.io/consider-it/journex-pdf-fusion-extractor:latest
restart: unless-stopped
volumes:
- /ansible_docker_compose/project_data/journex/pdf-fusion-extractor/output:/app/output
- /ansible_docker_compose/project_data/journex/pdf-fusion-extractor/data:/app/data:ro
environment:
PDF_FUSION_CONFIG: /app/config/config.yaml
networks:
- journex_net
extra_hosts:
- "ollama:10.20.1.2"
- "host.docker.internal:10.20.1.2"
pdf-bounding-boxes:
container_name: journex-pdf-bounding-boxes
image: ghcr.io/consider-it/journex-pdf-bounding-boxes:latest
restart: unless-stopped
volumes:
- /ansible_docker_compose/project_data/journex/pdf-bounding-boxes/bounding_boxes:/app/bounding_boxes
environment:
BOUNDING_BOX_DIR: /app/bounding_boxes
networks:
- journex_net
networks:
journex_net:
name: journex_net
driver: bridge
caddy_net:
external: true

View File

@@ -20,6 +20,13 @@
}
registry.cortex.consider-funding.de {
handle /health {
reverse_proxy https://ai-registry.neukiefer.de {
header_up Host ai-registry.neukiefer.de
header_up Authorization {env.REGISTRY_DOWNSTREAM_AUTH}
}
}
import oauth2 registry.cortex.consider-funding.de {
reverse_proxy https://ai-registry.neukiefer.de {
header_up Host ai-registry.neukiefer.de
@@ -36,15 +43,22 @@ pdf.consider-it.de {
pseudo.cortex.consider-funding.de {
handle /health {
reverse_proxy http://transcript-pseudomizer-frontend:5000
reverse_proxy http://cf-pseudomizer-frontend:5000
}
import oauth2 pseudo.cortex.consider-funding.de {
reverse_proxy http://transcript-pseudomizer-frontend:5000
reverse_proxy http://cf-pseudomizer-frontend:5000
}
}
enricher.cortex.consider-funding.de {
handle /health {
reverse_proxy https://ai-enricher.neukiefer.de {
header_up Host ai-enricher.neukiefer.de
header_up Authorization {env.ENRICHER_DOWNSTREAM_AUTH}
}
}
import oauth2 enricher.cortex.consider-funding.de {
reverse_proxy https://ai-enricher.neukiefer.de {
header_up Host ai-enricher.neukiefer.de
@@ -57,10 +71,7 @@ enricher.cortex.consider-funding.de {
journex.cortex.consider-funding.de {
import oauth2 journex.cortex.consider-funding.de {
route {
@apiExact path /api
redir @apiExact /api/
handle_path /api/* {
handle /api/* {
reverse_proxy journex-backend:7000
}
@@ -68,9 +79,7 @@ journex.cortex.consider-funding.de {
reverse_proxy journex-backend:7000
}
root * /srv/journex
try_files {path} /index.html
file_server
reverse_proxy journex-frontend:7500
}
}
}