Updated config to add repo

This commit is contained in:
2025-01-29 11:56:11 +00:00
parent 22e367c6f5
commit 9eb017a177
2 changed files with 5 additions and 10 deletions

View File

@@ -19,7 +19,7 @@
} }
handle /repo* { handle /repo* {
uri strip_prefix /repo uri strip_prefix /repo
reverse_proxy repo-placeholder:80 reverse_proxy am-d-model-data-repository-frontend:80
} }
} }

View File

@@ -16,6 +16,7 @@ services:
- site - site
networks: networks:
- am-d-model-network - am-d-model-network
- am-d-model-repo-network
ports: ports:
- "80:80" - "80:80"
- "443:443" - "443:443"
@@ -26,18 +27,12 @@ services:
labels: labels:
- "io.containers.autoupdate=registry" - "io.containers.autoupdate=registry"
repo-placeholder:
image: docker.io/nginx:alpine
networks:
- am-d-model-network
expose:
- "80"
volumes:
- ./repo:/usr/share/nginx/html
networks: networks:
am-d-model-network: am-d-model-network:
name: am-d-model-network name: am-d-model-network
am-d-model-repo-network:
name: am-d-model-repo-network
external: true
volumes: volumes:
caddy_data: caddy_data: