34 lines
627 B
YAML
34 lines
627 B
YAML
version: '3.3'
|
|
services:
|
|
backend:
|
|
#build: ./backend
|
|
image: backend:test
|
|
container_name: backend_inference
|
|
ports:
|
|
- 8090:8090
|
|
networks:
|
|
- semantic #dopis svoj nazov taskov
|
|
volumes:
|
|
- ./.env:/app/.env
|
|
- ./qa_model:/app/qa_model
|
|
- ./qa_tokenizer:/app/qa_tokenizer
|
|
|
|
restart: always
|
|
|
|
frontend:
|
|
#build: ./frontend
|
|
image: streamlit:dev
|
|
container_name: streamlit
|
|
ports:
|
|
- 8501:8501
|
|
depends_on:
|
|
- backend
|
|
links:
|
|
- backend
|
|
networks:
|
|
- semantic
|
|
restart: always
|
|
volumes:
|
|
- ./.env:/app/.env
|
|
networks:
|
|
semantic: |