Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

docker-compose.yml 555 B

You have to be logged in to leave a comment. Sign In
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
  1. version: '3'
  2. services:
  3. backend:
  4. build:
  5. context: ./
  6. dockerfile: ${PWD:-.}/docker/backend.Dockerfile
  7. ports:
  8. - 8000:8000
  9. networks:
  10. - app
  11. restart: on-failure
  12. container_name: fastapi-backend
  13. frontend:
  14. build:
  15. context: ./
  16. dockerfile: ${PWD:-.}/docker/frontend.Dockerfile
  17. depends_on:
  18. - backend
  19. ports:
  20. - 8502:8501
  21. networks:
  22. - app
  23. restart: on-failure
  24. container_name: streamlit-frontend
  25. # for production use bridge network...
  26. networks:
  27. app:
  28. driver: bridge
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...