Siyu's Master Thesis, based on Docker
/docker-compose.yml defines a multi-service architecture with different APIs and a gateway, relying on a base image for consistency.
SERVICE: Base image meg-base:1.0
- Builds from:
shared/Dockerfile.base. - Depends on:
None
SERVICE: Gateway image gateway:1.0
- Builds from:
.gateway/. - Depends on:
simcse_api,presumm_api. - Maps port
8000of the container to port8000on the host.
SERVICE: APIs images
simcse_api:1.0
- Builds from:
./apis/simcse/. - Depends on:
base. - Maps container port
5000to host port5002.
presumm_api:1.0
- Builds from:
./apis/presumm/. - Depends on:
base. - Maps container port
5000to host port5003.