Skip to content

Devex#1599

Open
James-Burgess wants to merge 6 commits into
WildMeOrg:mainfrom
James-Burgess:devex
Open

Devex#1599
James-Burgess wants to merge 6 commits into
WildMeOrg:mainfrom
James-Burgess:devex

Conversation

@James-Burgess

Copy link
Copy Markdown

New Docker and Docker compose setup for easy running.

Just docker compose up and have the full wildbook stack running.

  • Docker image now builds the war file as a build stage so devs dont need java installed.
  • Full compose setup to run all services
  • replace smtp with mailhog for local emails
  • Updated the README with new running instructions
  • Moved some contribution information to docs folder (should that move to the docs repo?)

Zero breaking changes to original workflow, you can still run the old docker configs.


Coming up

  • Followup PR with war build as an artifact.
  • Followup PR with e2e browser testing

Checklist

Before you Submit!

  • [*] Is all the text internationalized? NA
  • [*] If you made a change to the header, did you update the react, jsp, and html? NA
  • [ ] Are all depedencies at a locked version? apt packages arent but I wouldn't recommend doing that.
  • [*] Did you adhere to best practices?
  • [*] Is there a quick unit test you can add? na but e2e coming in followup

- Docker image now builds the war file as a build stage so devs dont
  need java installed.
- Full compose setup to run all services
- replace smtp with mailhog for local emails

@martinkilombe martinkilombe left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pulled the branch, ran docker compose up, and the stack came up cleanly. Wildbook is accessible default login works (tomcat / tomcat123), and outbound emails are captured correctly in MailHog at http://localhost:8025. OpenSearch and PostgreSQL both pass their health checks before Wildbook starts, so the startup ordering is solid.

1. Docker compose up

Image

2. Docker compose ps Screenshot to show services running:

Image

3. Homepage loading

Image

4. Login section

Image

5. Mailhog services

Image

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.

2 participants