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* {
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
networks:
- am-d-model-network
- am-d-model-repo-network
ports:
- "80:80"
- "443:443"
@@ -26,18 +27,12 @@ services:
labels:
- "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:
am-d-model-network:
name: am-d-model-network
am-d-model-repo-network:
name: am-d-model-repo-network
external: true
volumes:
caddy_data: