-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: master
Are you sure you want to change the base?
Conversation
89a3c5c
to
5acc86d
Compare
There was a problem hiding this 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 |
There was a problem hiding this comment.
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
docker-compose.yml
Outdated
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 |
There was a problem hiding this comment.
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")
54bb94b
to
12c1e50
Compare
This also fix the "menu-api" not found on bare install
12c1e50
to
522a50a
Compare
This also fix the "menu-api" not found on bare install.
It comes with a
make menu-api
that should handle thegit checkout
of the menu-api folder inwp-ops/docker/menu-api
. Then you can run amake up
as usual.