- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2021
10:44 PM
‎07-11-2021
10:44 PM
docker-compose.yml file
version: '2'
services:
apache:
# build:
# context: .
# dockerfile: build/apache/php-7.4/Dockerfile
image: rifkat/magento-php-apache:7.4
ports:
- "80:80"
- "9001:9000" # xdebug
volumes:
- ./src:/var/www/html
- ~/.composer/cache:/var/www/.composer/cache
- ~/.npm:/var/www/.npm
environment:
XDEBUG_CONFIG: "remote_host=localhost"
PHP_IDE_CONFIG: "serverName=Docker"
# VIRTUAL_HOST: "example.localhost"
depends_on:
- db
links:
- db
networks:
- magento-network
db:
image: mariadb:10.4.13
ports:
- 3300:3306
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=magento
- MYSQL_USER=magento
- MYSQL_PASSWORD=magento
volumes:
- dbdata:/var/lib/mysql
- ./backups:/var/tmp/backups
networks:
- magento-network
redis:
image: redis
ports:
- 6379
networks:
- magento-network
redis-session:
image: redis
ports:
- 6379
networks:
- magento-network
mailhog:
image: mailhog/mailhog
ports:
- 1025:1025
- 8025:8025
networks:
- magento-network
elasticsearch:
build:
context: .
dockerfile: build/elasticsearch/Dockerfile
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- ES_JAVA_OPTS=-Xms512m -Xmx512m
- node.name=node-1
- cluster.initial_master_nodes=node-1
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- ./elasticsearchdata:/usr/share/elasticsearch/data
ports:
- 9200:9200
networks:
- magento-network
phpmyadmin:
image: phpmyadmin/phpmyadmin
environment:
- PMA_ARBITRARY=1
links:
- db
ports:
- "2022:80"
networks:
- magento-network
networks:
magento-network:
driver: bridge
volumes:
dbdata:
driver: local
Solved! Go to Solution.
Labels:
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2021
04:03 AM
‎07-13-2021
04:03 AM
SOLVED
Was an issue regarding ownership
chown -R fixed it.
Thank you for your rply
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2021
03:06 AM
‎07-13-2021
03:06 AM
Re: Catalog Search index exception: Could not ping search engine: No alive nodes found in your clust
Please check whether the elastic search is running and configured properly
For the elastic search test connection:
Go to Admin -> Store Configuration -> Catalog tab -> select Catalog -> open Catalog Search
and check to configure an elastic search and click on the "Test Connection" button to check
test connection is successful or not.
Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.
200+ Magento 2 Extensions for Enhanced Shopping Experience.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2021
04:03 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2023
08:21 PM
‎01-06-2023
08:21 PM
Re: Catalog Search index exception: Could not ping search engine: No alive nodes found in your clust
Can you specify the "chown -R" solution? I'm having the same issue, with Catalog Search on "Reindex Required" state (no products can be added).
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2023
11:58 PM
‎04-19-2023
11:58 PM
Re: Catalog Search index exception: Could not ping search engine: No alive nodes found in your clust
sudo chown -R user:user /var/www/application_root/