You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

docker-compose.yml 807B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. version: '3.7'
  2. services:
  3. fileserver:
  4. build: ./fileserver/
  5. volumes:
  6. - /fileserver/static
  7. ports:
  8. - "8080:8080"
  9. environment:
  10. - PORT=8080
  11. - API_HOST=apiserver:8080
  12. - JWT_SECRET=noFLAG_seekreet123
  13. depends_on:
  14. - apiserver
  15. networks:
  16. - apiNw
  17. apiserver:
  18. build: ./apiserver/
  19. environment:
  20. - PORT=8080
  21. - JWT_SECRET=noFLAG_seekreet123
  22. - DB_HOST=mongo
  23. - DB_NAME=myDatabase
  24. depends_on:
  25. - mongo
  26. networks:
  27. - mongoNw
  28. - apiNw
  29. mongo-express:
  30. image: mongo-express:latest
  31. environment:
  32. - ME_CONFIG_MONGODB_SERVER=mongo
  33. depends_on:
  34. - mongo
  35. networks:
  36. - mongoNw
  37. mongo:
  38. image: mongo:4.4.11-rc1-focal
  39. networks:
  40. - mongoNw
  41. networks:
  42. mongoNw:
  43. apiNw: