Spaces:
Configuration error

yonkasoft commited on
Commit
a373697
1 Parent(s): a0d0b52

Update docker-compose.yml

Browse files
Files changed (1) hide show
  1. docker-compose.yml +2 -2
docker-compose.yml CHANGED
@@ -2,7 +2,7 @@ version: '3.8'
2
  services:
3
  app:
4
  build: .
5
- container_name: flask_app
6
  ports:
7
  - "8000:8000"
8
  environment:
@@ -11,7 +11,7 @@ services:
11
  - AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
12
  - AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
13
  - ENDPOINT_URI=${ENDPOINT_URI}
14
- command: ["flask", "run", "--host=0.0.0.0", "--port=8000"]
15
 
16
  mongo:
17
  image: mongo:4.4
 
2
  services:
3
  app:
4
  build: .
5
+ container_name: fast_app
6
  ports:
7
  - "8000:8000"
8
  environment:
 
11
  - AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
12
  - AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
13
  - ENDPOINT_URI=${ENDPOINT_URI}
14
+ command: ["fastapi", "run", "--host=0.0.0.0", "--port=8000"]
15
 
16
  mongo:
17
  image: mongo:4.4