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

fix: docker-compose.dev.yaml #2695

Merged
merged 2 commits into from Jan 2, 2024
Merged

Conversation

nalderto
Copy link
Contributor

@nalderto nalderto commented Jan 2, 2024

While attempting to configure my development environment, I noticed that the Docker compose file for development was no longer working as expecting, as described by the documentation. This commit moved the docker-compose.dev.yaml file into the scripts directory. However, as there are numerous relative paths in the compose file, we need to update those.

Additionally, I noticed that the DB container wasn't configured properly and hopefully resolved that.

I can make a follow up PR to the documentation repo once this is merged in.

@nalderto nalderto requested a review from boojack as a code owner January 2, 2024 10:25
dev-dist
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added a newline to the end of the file

- ./.air/mysql:/var/lib/mysql
- ./../.air/mysql:/var/lib/mysql
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Some env var related to setting the password is required.

Copy link
Collaborator

@boojack boojack left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for your contribution!

@boojack boojack changed the title Fix docker-compose.dev.yaml fix: docker-compose.dev.yaml Jan 2, 2024
@boojack boojack merged commit 673809e into usememos:main Jan 2, 2024
5 checks passed
@nalderto nalderto deleted the fix-dev-docker-compose branch January 2, 2024 10:34
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