docker-compose.dev.yml 532 B

123456789101112131415161718192021222324
  1. services:
  2. backend:
  3. ports:
  4. - "${BACKEND_HOST:-0.0.0.0}:${BACKEND_PORT:-8080}:8080"
  5. volumes:
  6. - ./.git:/opt/.git:ro
  7. - ./types:/opt/types
  8. - ./backend:/opt/app
  9. frontend:
  10. volumes:
  11. - ./.git:/opt/.git:ro
  12. - ./types:/opt/types
  13. - ./frontend:/opt/app
  14. mongo:
  15. ports:
  16. - "${MONGO_HOST:-0.0.0.0}:${MONGO_PORT:-27017}:${MONGO_PORT:-27017}"
  17. redis:
  18. ports:
  19. - "${REDIS_HOST:-0.0.0.0}:${REDIS_PORT:-6379}:6379"
  20. volumes:
  21. - ${REDIS_DATA_LOCATION:-./redis}:/data