riverrun
I am the maintainer of Comeonin (and its password hashing dependencies).
Several users are having problems deploying argon2_elixir, as can be seen in this issue. It seems that there are no problems with bcrypt_elixir.
If anyone is successfully deploying argon2_elixir, we would love to hear from you
Hopefully, you can help resolve this issue.
Trending in Questions
I having some trouble figuring out if I have set myself too strict of standards for my production server. Currently I can handle 75% of r...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
Hello,
I’m trying to build a basic Phoenix web-app, and I’d like to use Tailwind.
However, when I launch mix phx.server, I get an error...
New
Hi everyone,
I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding.
I sta...
New
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
I’m working on a small exercise involving update_in/3, and I came up with this solution:
data = %{
name: "Periodic Table",
category:...
New
I’ve got trouble wrapping my head around the order in which functions are called in this snippet (from Phoenix’s authentication):
toke...
New
Other Trending Topics
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
A little off-topic, but I feel like people here have a good head on their shoulders.
I used to be quite good at making software. Was luc...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ai
- #ecto-query
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #elixirconf-eu
- #api
- #forms
- #metaprogramming
- #hex










Showing Posts 18 to 9- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
riverrun
Great to hear you got it working
fireproofsocks
I think I got this worked out… not really sure what the hiccup was… I was working through a lot of Docker issues, now everything seems to be coming up clean.
riverrun
Also, how much memory is your server / docker instance going to have?
riverrun
For information about choosing the m_cost (memory allocation), see Argon2.Stats — argon2_elixir v4.1.3 - you can set the value in the config file (you will probably need to reduce it to 16 or 15).
And here is some information about using Docker with argon2_elixir - Deployment · riverrun/comeonin Wiki · GitHub
fireproofsocks
Sorry to be clueless, but how do I deduce the m_cost? Is that a config value somewhere?
As for cores, I don’t know. The Docker Daemon on Mac I have configured to use 4 CPUs, but I don’t know if that will be equivalent.
riverrun
How many cores are you using? You need to use more than one.
For docker deployments, you will also probably need to reduce the m_cost.
Finally, you can remove the
comeoninline from your mix.exs file.Let me know how you get on.
fireproofsocks
I’m having trouble with this… trying to build for Docker deployments (per our company’s DevOps requirements).
I get an error like the following on startup:
This is using
in an umbrella app using distillery
{:distillery, "~> 2.0.12", runtime: false}smartdevbr
what about this…
$ iex -S mix
==> argon2_elixir
could not compile dependency :argon2_elixir, “mix compile” failed. You can recompile this dependency with “mix deps.compile argon2_elixir”, update it with “mix deps.update argon2_elixir” or clean it with “mix deps.clean argon2_elixir”
==> Project
** (Mix) “nmake” not found in the path. If you have set the MAKE environment variable,
please make sure it is correct.
riverrun
Problem solved
Simplifying the Makefile, along with a couple of other minor changes to the NIF code, (in version 1.2.13) seems to have solved the problem.
If anyone here was having issues creating a release, please update to 1.2.13.
riverrun
Quick update: I have made changes to the Makefile (removed some of the optimization options), and I’m waiting for feedback on those changes.