docker-compose.yml 676 B

123456789101112131415161718192021222324252627282930313233
  1. version: '3'
  2. services:
  3. mongo:
  4. container_name: mongo
  5. image: mongo
  6. ports:
  7. - "27017:27017"
  8. networks:
  9. - backend
  10. webexpe:
  11. container_name: sin3dlauncherinst
  12. image: sin3dlauncher
  13. restart: always
  14. volumes:
  15. - "./media:/usr/src/app/media" # get access to media files
  16. ports:
  17. - "${PORT:-8000}:8000"
  18. links:
  19. - mongo
  20. # only comment in case it will be necessary
  21. environment:
  22. WEB_PREFIX_URL: "${WEB_PREFIX_URL:-}"
  23. depends_on:
  24. - mongo
  25. networks:
  26. - backend
  27. networks:
  28. backend: