Spaces:
Configuration error
Configuration error
Update docker-compose.yml
Browse files- 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:
|
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: ["
|
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
|