Skip to content
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

Add an all-in-one devcontainer and make use of -j on production builder #8151

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Danil0v3s
Copy link
Contributor

  • Addressed Issue(s):

There was some confusion around the readme of the docker part, we did not remove the wording saying the containers are not suited for production when we split each server to its container.

  • Server Mode:
    N/D
  • Description of Pull Request:
    This PR aims to create two different folders of docker-compose files, mostly restore the old one and divide them into "production" and "development", being "production" the one with separate containers and the latter the one with an all-in-one container.

tools/docker/development/README.md Outdated Show resolved Hide resolved
- "3306:3306" # allow DB connections from host
volumes:
- "rathenadb:/var/lib/mysql" # save database to local disk
- "../../sql-files/:/docker-entrypoint-initdb.d" # initialize db with ./sql-files
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a little dangerous with the tools folder in sql-files? The conversion of engine types and the MD5 password setting (if the server config isn't setup for this password type).

Unless I'm hyping this up and it doesn't crawl to sub-directories, then ignore me!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does map the directory to the container but i think the container only queries for sql files. The change I needed to do was because the dir is now a level below

Co-authored-by: Aleos <aleos89@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants