Commit 00394db9 authored by Matteo's avatar Matteo
Browse files

update

parent 75b0f9f4
PROXY_PORT=8888 PROXY_PORT=8888
DATA_VOLUME=./data DATA_VOLUME=./data
LOGS_VOLUME=./logs LOGS_VOLUME=./logs
\ No newline at end of file AUDIO_ANALYSER_PORT=50051
VIDEO_ANALYSER_PORT=50052
TAPE_IRREGULARITY_PORT=50053
TAPE_AUDIO_RESTORATION_PORT=50054
PACKAGER_PORT=50055
\ No newline at end of file
audio-analyzer @ fe415fcf
Subproject commit 6b43a93e6976a03ab2178ba84fa51601a0fd84cb Subproject commit fe415fcfc927e0847dc40f224c4cff02ef67c8d0
...@@ -2,47 +2,45 @@ version: '3.9' ...@@ -2,47 +2,45 @@ version: '3.9'
services: services:
reverse-proxy: audio-analyzer:
image: mpai-reverse-proxy image: mpai-audio-analyzer
build: ./reverse-proxy build: ./audio-analyzer
ports: ports:
- "${PROXY_PORT}:80" - "${AUDIO_ANALYSER_PORT}:50051"
volumes:
# audio-analyzer: - ${DATA_VOLUME}:/data
# image: mpai-audio-analyzer
# build: ./eq_detection
# command: bash -c "poetry run python -u src/cli/app.py -i /data/input -d /data/output > /var/log/audio-analyzer/stdout.log 2> /var/log/audio-analyzer/stderr.log"
# volumes:
# - ${DATA_VOLUME}:/data
# - ${LOGS_VOLUME}/audio-analyzer:/var/log/audio-analyzer
# video-analyzer: video-analyzer:
# image: mpai-video-analyzer image: mpai-video-analyzer
# build: ./video-analyzer build: ./video-analyzer
# volumes: ports:
# - ${DATA_VOLUME}:/data - "${VIDEO_ANALYSER_PORT}:50051"
# - ${LOGS_VOLUME}/video-analyzer:/var/log/video-analyzer volumes:
- ${DATA_VOLUME}:/data
tape-irregularity-classifier: tape-irregularity-classifier:
image: mpai-tape-irregularity-classifier image: mpai-tape-irregularity-classifier
build: ./tape-irregularity-classifier build: ./tape-irregularity-classifier
ports:
- "${TAPE_IRREGULARITY_PORT}:50051"
volumes: volumes:
- ${DATA_VOLUME}:/data - ${DATA_VOLUME}:/data
- ${LOGS_VOLUME}/tape-irregularity-classifier:/var/log/tape-irregularity-classifier
tape-audio-restoration: tape-audio-restoration:
image: mpai-tape-audio-restoration image: mpai-tape-audio-restoration
build: ./tape-audio-restoration build: ./tape-audio-restoration
ports:
- "${TAPE_AUDIO_RESTORATION_PORT}:50051"
volumes: volumes:
- ${DATA_VOLUME}:/data - ${DATA_VOLUME}:/data
- ${LOGS_VOLUME}/tape-audio-restoration:/var/log/tape-audio-restoration
packager: # packager:
image: mpai-packager # image: mpai-packager
build: ./packager # build: ./packager
volumes: # ports:
- ${DATA_VOLUME}:/data # - "${PACKAGER_PORT}:50051"
- ${LOGS_VOLUME}/packager:/var/log/packager # volumes:
# - ${DATA_VOLUME}:/data
volumes: volumes:
data: data:
packager @ e0b63fef
Subproject commit a0e0f9406cd215b5c02bb247627370126ac35186 Subproject commit e0b63fef58f12395397ec5df7964f9d5025d3f4b
FROM nginx:stable-alpine-slim
COPY ./index.html /etc/nginx/html/index.html
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MPAI frontend</title>
</head>
<body>
<h1>MPAI frontend</h1>
<p>MPAI frontend is running</p>
<ul>
<li><a href="/audio-analyser/docs">Audio</a></li>
<li><a href="/video-analyser/docs">Video</a></li>
<li><a href="/tape-irregularity-classifier/docs">Tape Irregularity Classifier</a></li>
<li><a href="/tape-audio-restoration/docs">Tape Audio Restoration</a></li>
<li><a href="/packager/docs">Packager</a></li>
</ul>
</body>
</html>
\ No newline at end of file
server {
listen 80;
location /packager/ {
proxy_pass http://packager:80/;
}
# location /audio-analyser {
# proxy_pass http://audio-analyser:80;
# }
# location /video-analyser {
# proxy_pass http://video-analyser:80;
# }
location /tape-audio-restoration/ {
proxy_pass http://tape-audio-restoration:80/;
}
location /tape-irregularity-classifier/ {
proxy_pass http://tape-irregularity-classifier:80/;
}
}
\ No newline at end of file
Subproject commit da5c2d129dc0c56836e41a61c87a3203b5a9cf59 Subproject commit e027a97ab2bd866257d4e2352f1badd8bdcac926
Subproject commit daeaf76b9b5d8b321ffe96d7ca4f62b1971c8802 Subproject commit 53f879259c438facf1c959f072ea6846540c9263
video-analyzer @ b89f3469
Subproject commit bccb225942dbcecffcf9bd90506f0c55e0ba5c12 Subproject commit b89f3469c7e4a6ef458d0994d33a281aa2a6033c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment