Docker Community Forums

Share and learn in the Docker community.

Getting mozilla/send to run without redis


I’m new to docker and thought that I would experiment a bit with mozilla/send since I would like to host it by myself. I’ve read up on containers, images etc. so I think I have a basic understanding of how this works.
I’m running the following:

- Windows 10 Pro 1909

- Docker Desktop
- Engine 19.03.5

Using Linux containers.

I ran:

docker pull mozilla/send

And then:

docker run mozilla/send

But I just get the following:

FirefoxSend.CRITICAL: uncaughtException Error: Cannot find module 'redis-mock'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at module.exports (/app/server/storage/redis.js:10:17)
    at new DB (/app/server/storage/index.js:24:18)
    at Object.<anonymous> (/app/server/storage/index.js:86:18)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)

If I read the docker-info of mozilla/send it says I need to specify a Redis-server, S3 bucket etc.
But if I read the first page of mozilla/send it says that Redis server and AWS S3 buckets are optional.

So being a noob at docker I don’t think I really follow. I thought that maybe this image was a complete image with webserver etc. to get it up and running but I’m starting to think that it is only the application it self.
But how do I then get this up and running?
I don’t use AWS so I don’t have access to a S3 bucket nor have I ever used Redis server.

What am I missing here?

Even if I setup a Redis-server, would I need an S3 bucket too?

Thanks for any info.

Given the time elapse, my reply might be obsolete, but here it goes.

Ahmed Musaad has provided a nice tutorial on how to selfhost a mozilla/send instance without S3.

I had forgot about this post.
I later noticed the docker-compose.yml in the git-repo which I used to get Firefox Send to run just fine.