Docker and docs cleanup (#733)

* docs: cleanup

* chore: docker cleanup
This commit is contained in:
Loïc Vernet 2024-09-10 09:34:15 +02:00 committed by Hugo Nicolas
parent bef999767e
commit bef9d299c0
No known key found for this signature in database
GPG key ID: 09CB3D93EB8B0E61
5 changed files with 16 additions and 34 deletions

View file

@ -1,23 +1 @@
# Note regarding composer.json # Note regarding composer.json
## Meilisearch
meilisearch/meilisearch-php
Is locked to `v0.26.0` to prevent this error:
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 1
!!
!! In DebugClassLoader.php line 327:
!!
!! Case mismatch between loaded and declared class names: "MeiliSearch\Client"
!! vs "Meilisearch\Client".
!!
!!
!!
Script @auto-scripts was called via post-update-cmd
I have opened a ticket https://github.com/meilisearch/meilisearch-php/issues/452.

View file

@ -1,5 +1,3 @@
version: "3.4"
# Development environment override # Development environment override
services: services:
# https://localhost/_profiler/phpinfo # https://localhost/_profiler/phpinfo
@ -30,8 +28,13 @@ services:
maildev: maildev:
image: maildev/maildev image: maildev/maildev
ports: ports:
- 1080:1080 - "1080:1080"
- 1025:1025 - "1025:1025"
healthcheck:
test: ["CMD-SHELL", "wget -O - http://0.0.0.0:1080/healthz || exit 1"]
interval: 5s
timeout: 5s
retries: 5
storage: storage:
image: minio/minio image: minio/minio

View file

@ -1,5 +1,3 @@
version: "3.4"
# Production environment override # Production environment override
services: services:
php: php:

View file

@ -1,5 +1,3 @@
version: "3.4"
services: services:
php: php:
build: build:
@ -89,7 +87,7 @@ services:
redis: redis:
image: redis:7-alpine image: redis:7-alpine
ports: ports:
- '6389:6379' - "6389:6379"
healthcheck: healthcheck:
test: ["CMD-SHELL", "redis-cli -h 127.0.0.1 ping | grep 'PONG' || exit 1"] test: ["CMD-SHELL", "redis-cli -h 127.0.0.1 ping | grep 'PONG' || exit 1"]
interval: 10s interval: 10s

View file

@ -21,16 +21,21 @@ Access `https://localhost` in your browser and accept the security risk.
You should have access now to: You should have access now to:
* Main project : https://localhost * The main frontend: https://localhost
* Meilisearch : http://localhost:7700/ * The Meilisearch UI: http://localhost:7700/
To access the dev tools, run= Note that you can also use the [online meilisearch-ui](https://meilisearch-ui.riccox.com).
Be careful it is not an official Meilisearch website, use only for dev data, do not
send cloud credentials.
To access the dev tools, run:
make start-dev make start-dev
You should have access now to: You should have access now to:
* Adminer : http://localhost:8989/?pgsql=database&username=app&db=app&ns=public&select=group * Adminer : http://localhost:8989/?pgsql=database&username=app&db=app&ns=public&select=group
* Mailcatcher : http://localhost:1081/
* Maildev : http://localhost:1080 * Maildev : http://localhost:1080
## Makefile ## Makefile