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 772 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
32
33
34
  1. version: "3.7"
  2. services:
  3. api:
  4. container_name: api
  5. image: matevzstudent/mbajk-forecast-api:v1.0.0
  6. env_file:
  7. - .env
  8. ports:
  9. - "8000:8000"
  10. networks:
  11. - mbajk-forecast-network
  12. client:
  13. container_name: client
  14. build:
  15. context: src/client/mbajk-forecast
  16. dockerfile: Dockerfile
  17. env_file:
  18. - src/client/mbajk-forecast/.env.production
  19. volumes:
  20. - ./src/client/mbajk-forecast/replace-variables.sh:/replace-variables.sh
  21. command: bash -c "bash /replace-variables.sh && node server.js HOSTNAME=0.0.0.0"
  22. extra_hosts:
  23. - "host.docker.internal:host-gateway"
  24. ports:
  25. - "3000:3000"
  26. networks:
  27. - mbajk-forecast-network
  28. networks:
  29. mbajk-forecast-network:
  30. driver: bridge
Tip!

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

Comments

Loading...