Files
loader/e2e/docker-compose.test.yml
T
Oleksandr Bezdieniezhnykh 0c5686d149 Update project configuration and code structure
- Added '*.o' to .gitignore to exclude object files from version control.
- Modified Dockerfile to specify the application directory for Uvicorn.
- Updated setup.py to reflect the new source directory structure for Cython extensions.
- Adjusted E2E Docker Compose command to include the application directory.
- Refined type hints in ApiClient and Security classes for better clarity and consistency.

These changes enhance the project's organization and improve the build process.
2026-04-13 06:47:06 +03:00

44 lines
968 B
YAML

services:
mock-api:
build: ./mocks/mock_api
ports:
- "9090:9090"
environment:
MOCK_CDN_HOST: http://mock-cdn:9000
networks:
- e2e-net
mock-cdn:
image: minio/minio:latest
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
ports:
- "9000:9000"
networks:
- e2e-net
system-under-test:
build:
context: ..
dockerfile: Dockerfile
command: bash -c "rm -rf /app/models/* && mkdir -p /app/models && python -m uvicorn main:app --host 0.0.0.0 --port 8080 --app-dir src"
ports:
- "8080:8080"
depends_on:
- mock-api
- mock-cdn
environment:
RESOURCE_API_URL: http://mock-api:9090
IMAGES_PATH: /tmp/test.enc
API_VERSION: test
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
- e2e-net
networks:
e2e-net:
driver: bridge