diff --git a/discovery-provider/Caddyfile b/discovery-provider/Caddyfile index 41068a8ef..6efb0acbd 100644 --- a/discovery-provider/Caddyfile +++ b/discovery-provider/Caddyfile @@ -15,5 +15,12 @@ route /dashboard* { file_server } +route /ddex* { + redir /ddex /ddex/ 308 + uri strip_prefix /ddex + root * /ddex-dist + file_server +} + # defaults to backend:5000 reverse_proxy {$ROOT_HOST:"backend:5000"} diff --git a/discovery-provider/docker-compose.yml b/discovery-provider/docker-compose.yml index e4928a818..62e786d6b 100644 --- a/discovery-provider/docker-compose.yml +++ b/discovery-provider/docker-compose.yml @@ -363,6 +363,7 @@ services: - caddy_data:/data - caddy_config:/config - dashboard-dist:/dashboard-dist + - ddex-dist:/ddex-dist dashboard: image: audius/dashboard:${TAG:-d04efbc2f2c58792d1a6bf19ab0747518a27c7c6} @@ -389,6 +390,18 @@ services: - /var/k8s/bolt:/bolt # plugins + + ddex: + image: audius/ddex:${TAG:-d04efbc2f2c58792d1a6bf19ab0747518a27c7c6} + container_name: ddex + restart: unless-stopped + networks: + - discovery-provider-network + volumes: + - ddex-dist:/app/dist + profiles: + - ddex + notifications: image: audius/discovery-provider-notifications:${TAG:-d04efbc2f2c58792d1a6bf19ab0747518a27c7c6} container_name: notifications @@ -463,3 +476,4 @@ volumes: caddy_data: caddy_config: dashboard-dist: + ddex-dist: