forked from nitrobear95/plotify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
33 lines (32 loc) · 854 Bytes
/
docker-compose.yaml
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
26
27
28
29
30
31
32
33
version: '3'
# networks:
# plotify-network:
# external: true
services:
frontend:
container_name: plotify-frontend
image: plotify-frontend:dev
build: frontend/.
ports:
- 8501:8501
depends_on:
- backend
env_file:
- frontend/.env
# networks:
# - plotify-network
command: "streamlit run app.py --server.port=8501 --server.address=0.0.0.0" # --server.enableCORS=false --server.enableXsrfProtection=false"
backend:
container_name: plotify-backend
image: plotify-backend:dev
build: backend/.
ports:
- 8001:8001
environment:
- PORT=8001
env_file:
- backend/.env
# networks:
# - plotify-network
command: "uvicorn api.fast:app --reload --port 8001 --host 0.0.0.0 "
# command: "uvicorn api.fast:app --reload --port $PORT --host 0.0.0.0 "