Spaces:
Running
Running
File size: 893 Bytes
2ecc4a7 1b08040 2ecc4a7 1b08040 73905db 2ecc4a7 1b08040 2ecc4a7 1b08040 73905db 1b08040 2ecc4a7 73905db | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | version: "3.9"
services:
backend:
build:
context: ./RAG_FULL_APPLICATION_BACKEND
dockerfile: Dockerfile
env_file:
- ./RAG_FULL_APPLICATION_BACKEND/.env
environment:
- REDIS_URL=redis://redis:6379
volumes:
- ./RAG_FULL_APPLICATION_BACKEND:/app
- ./RAG_FULL_APPLICATION_BACKEND/data:/app/data
depends_on:
- redis
restart: unless-stopped
frontend:
build:
context: ./RAG_FULL_APPLICATION_FRONTEND
dockerfile: Dockerfile
args:
- VITE_API_BASE_URL=
depends_on:
- backend
redis:
image: redis:7-alpine
ports:
- "6379:6379"
restart: unless-stopped
nginx:
image: nginx:stable-alpine
ports:
- "8080:80"
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro
depends_on:
- frontend
- backend
restart: unless-stopped
|