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 docker-compose to run Khan locally #61

Closed

Conversation

mathnogueira
Copy link
Contributor

This PR sets up the necessary infrastructure for one to try the project in their local environment.

Matheus Nogueira added 3 commits November 18, 2020 00:59
strings.ReplaceAll was removed from go 1.11 and it's making the CI pipeline to break
@coveralls
Copy link

coveralls commented Nov 18, 2020

Coverage Status

Coverage increased (+0.1%) to 61.393% when pulling 2d7830f on mathnogueira:add/docker-compose into d9e848a on topfreegames:master.

retries: 3

networks:
khan:

Choose a reason for hiding this comment

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

A suggestion: we could use the same network name for all services, to help us to integrate with other services (this is why I named the network as wildlife-services in other services).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Great.

build:
context: .
dockerfile: Dockerfile
command: "make migrate"

Choose a reason for hiding this comment

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

Using this configuration with a docker-compose up without reading README, migrate and khan will be running concurrently. Could we have problems with the khan container due to this?
Which is the advantage of running migrate outside the khan container?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. I can override the command to execute both make commands instead of using two separated services.

@leonardo2204
Copy link
Contributor

Closed, done at #72

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

4 participants