Spaces:
Configuration error

File size: 582 Bytes
9234806
db8be92
 
 
9234806
db8be92
9234806
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
version: '3.8'
services:
  app:
    build: .
    container_name: flask_app
    ports:
      - "8000:8000"
    environment:
      - MONGO_URI=${MONGO_URI}
      - HF_API_KEY=${HF_API_KEY}
      - AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
      - AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
      - ENDPOINT_URI=${ENDPOINT_URI}
    command: ["flask", "run", "--host=0.0.0.0", "--port=8000"]
  
  mongo:
    image: mongo:4.4
    container_name: mongodb
    ports:
      - "27017:27017"
    environment:
      MONGO_INITDB_ROOT_USERNAME: root
      MONGO_INITDB_ROOT_PASSWORD: example