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

[feature] Move menu-api in wp-ops's docker folder #91

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

Conversation

ponsfrilus
Copy link
Member

This also fix the "menu-api" not found on bare install.

It comes with a make menu-api that should handle the git checkout of the menu-api folder in wp-ops/docker/menu-api. Then you can run a make up as usual.

@ponsfrilus ponsfrilus self-assigned this Sep 19, 2024
@ponsfrilus ponsfrilus added the enhancement New feature or request label Sep 20, 2024
Copy link
Contributor

@rosamaggi rosamaggi left a comment

Choose a reason for hiding this comment

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

Could you please rename the container name?

@@ -88,4 +88,7 @@ services:

menu-api:
container_name: menu-api
Copy link
Contributor

Choose a reason for hiding this comment

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

to make the theme works correctly, you should call the container_name: menu-api-siblings as it's the name used in the breadcrumb.php file

build: wp-ops/docker/menu-api
volumes:
- ./wp-ops/docker/menu-api/menu-api-config.yaml:/config/menu-api-config.yaml
- ./wp-ops/docker/menu-api/data:/data
Copy link
Contributor

Choose a reason for hiding this comment

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

I didn't give you the right config for the volume: the folder in the container is /app/data (in the configmap file the folder is "./data")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants