Skip to content

chore: Add docker-compose to run all services through docker - #440

Merged
CuriousLearner merged 4 commits into
Fueled:mainfrom
CuriousLearner:docker-setup
Dec 7, 2022
Merged

chore: Add docker-compose to run all services through docker#440
CuriousLearner merged 4 commits into
Fueled:mainfrom
CuriousLearner:docker-setup

Conversation

@CuriousLearner

@CuriousLearner CuriousLearner commented Nov 26, 2021

Copy link
Copy Markdown
Contributor

Why was this change necessary?

Different services require lot of local setup and tweaking to work on different OS. The goal of this PR is to containerize the service and present to easily run all services with help of docker-compose.

How does it address the problem?

This would dockerize the setup and run services like django, postgres, celery, flower in separate containers.

Are there any side effects?

None.

@CuriousLearner

Copy link
Copy Markdown
Contributor Author

To be updated with latest changes after the merge of #444

@CuriousLearner
CuriousLearner marked this pull request as ready for review September 14, 2022 12:05
@CuriousLearner CuriousLearner changed the title WIP: Docker setup chore: Add docker-compose to run all services through docker Sep 14, 2022

@sahithchandan sahithchandan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM 👍

Comment thread {{cookiecutter.github_repository}}/.envs/.local/.env.sample Outdated
Comment thread {{cookiecutter.github_repository}}/docs/backend/docker_setup.md
* main:
  fix(pyproject.toml): Add dependencies for mkdocs (Fueled#458)
  docs(README): Update docs to drop legacy poetry command (Fueled#457)
  fix(github-actions): Use poetry to install requirements & run tests (Fueled#456)
  docs(coding_rules): correct class names to be PascalCase (Fueled#455)
  ci(github-actions): ensure poetry is installed lint action (Fueled#453)

@sun337 sun337 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Didn't get to test, but LGTM.


# Databases
# ==============================
# DATABASE_URL=postgres://username:password@yourhost.com:5432/database_name

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We could remove DATABASE_URL.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oh, this is a sample env file, so sample values here are okay. This is to guide people to replace them by actual values when they place an actual .env file.

@CuriousLearner

Copy link
Copy Markdown
Contributor Author

Verified that it works. So, merging this in. If there are any other changes, we'll handle it is subsequent pull requests.

Thank you everyone for their reviews & suggestions 🎉

@CuriousLearner
CuriousLearner merged commit badcff4 into Fueled:main Dec 7, 2022
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.

4 participants