Update compose.yaml
Browse files- compose.yaml +3 -13
compose.yaml
CHANGED
@@ -8,22 +8,12 @@
|
|
8 |
# database or a cache. For examples, see the Awesome Compose repository:
|
9 |
# https://github.com/docker/awesome-compose
|
10 |
services:
|
11 |
-
|
12 |
-
build:
|
13 |
-
context: .
|
14 |
-
dockerfile: Dockerfile_fastapi
|
15 |
-
ports:
|
16 |
-
- "8000:8000"
|
17 |
-
command: uvicorn main:app --host 0.0.0.0 --port 8000
|
18 |
-
|
19 |
-
streamlit:
|
20 |
build:
|
21 |
context: .
|
22 |
-
dockerfile: Dockerfile_streamlit
|
23 |
ports:
|
24 |
-
-
|
25 |
-
|
26 |
-
|
27 |
# The commented out section below is an example of how to define a PostgreSQL
|
28 |
# database that your application can use. `depends_on` tells Docker Compose to
|
29 |
# start the database before your application. The `db-data` volume persists the
|
|
|
8 |
# database or a cache. For examples, see the Awesome Compose repository:
|
9 |
# https://github.com/docker/awesome-compose
|
10 |
services:
|
11 |
+
server:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
build:
|
13 |
context: .
|
|
|
14 |
ports:
|
15 |
+
- 8000:8000
|
16 |
+
|
|
|
17 |
# The commented out section below is an example of how to define a PostgreSQL
|
18 |
# database that your application can use. `depends_on` tells Docker Compose to
|
19 |
# start the database before your application. The `db-data` volume persists the
|