-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dockerize services #26
base: main
Are you sure you want to change the base?
Conversation
Already using mysql2 in smtp.js and this supports newer auth Without this, I was seeing an error: (POP3) Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
- Splits dependency fetching and building to separate images - Allow specifying location of config.json in node apps - Adds image to handle processing of cron jobs - Partial support of setting config options via env variables
Docker commands really shouldn't be inside a Makefile
Just in case: for me, add_user.php doesn't seem to work with a fresh deployment:
config.json:
(gameboy.datacenter.ne.jp is resolvable). |
Are you using the full |
I'm running the full docker command. The only thing I can think of is that a previous run had a mistake in the config.json, but I removed all containers and did a full docker system prune --all after that before doing anything else, so I wouldn't think that's affecting anything. |
shes_sad.mp4Here's a short screen capture. EDIT: Well, that's embarrassing. In her infinite wisdom, yesterday me ended line 2 of config.json with a semicolon instead of a comma. That'd do it. Sheesh. Sorry about that. Now though, I get an error about |
That screen cap helps a bit. I've updated the README to include a missing step that's likely the cause of your issues.
The I would highly recommend joining the REON Discord server if you haven't already. The project isn't in a public-ready state yet and there are a few things you'll want to do after getting the containers working properly in order to actually use it. |
I've added DNS to the services included int he docker setup. I opted to use dnsmasq as it's widely used, fairly lightweight compared to other popular DNS servers, and the config is simple enough to generate on-the-fly without looking like a mess. It has been set up to run as a non-recursive resolver, so nothing outside of the REON services should resolve |
This is built off of PR #22, with a variety of changes and additions. After waiting for feedback from ylambda regarding pulling my changes into their PR for several months, I decided to open a PR of my own in hopes our changes will be merged.
All services required to run a server, outside of the relay, are covered
config.json
in node programs via a new-c
argumentexample.env
was added with the mysql optionsmail/entrypoint.sh
for a full set of optionsEXTERNAL_IP
environment variable (in.env
), otherwise it will respond withNXDOMAIN