CoolFace
Apppublic

stellar413/AI_adjudication

sourceHugging Faceupdated 4mo agoView on Hugging Face
0likes
docker-compose.yml62 linesDownload Raw Back to root
1version: '3.8'2 3services:4  db:5    image: postgres:15-alpine6    container_name: opd_adjudication_db7    restart: always8    environment:9      POSTGRES_USER: plum_user10      POSTGRES_PASSWORD: plum_password11      POSTGRES_DB: plum_db12    ports:13      - "5432:5432"14    volumes:15      - postgres_data:/var/lib/postgresql/data16    healthcheck:17      test: ["CMD-SHELL", "pg_isready -U plum_user -d plum_db"]18      interval: 5s19      timeout: 5s20      retries: 521 22  backend:23    build:24      context: .25      dockerfile: backend/Dockerfile26    container_name: opd_adjudication_backend27    restart: always28    depends_on:29      db:30        condition: service_healthy31    ports:32      - "8000:8000"33    environment:34      - DB_HOST=db35      - DB_PORT=543236      - DB_NAME=plum_db37      - DB_USER=plum_user38      - DB_PASSWORD=plum_password39      - GEMINI_API_KEY=${GEMINI_API_KEY}40    volumes:41      - .:/app42    command: uvicorn backend.main:app --host 0.0.0.0 --port 8000 --reload43 44  frontend:45    build:46      context: .47      dockerfile: frontend/Dockerfile48    container_name: opd_adjudication_frontend49    restart: always50    depends_on:51      - backend52    ports:53      - "8501:8501"54    environment:55      - BACKEND_URL=http://backend:800056    volumes:57      - .:/app58    command: streamlit run frontend/streamlit_app.py --server.port 8501 --server.address 0.0.0.059 60volumes:61  postgres_data:62