generate TYPESENSE_API_KEY

This commit is contained in:
2026-02-07 20:59:02 +01:00
parent af81fb3159
commit 08ced1e938
11 changed files with 236 additions and 15 deletions
+5 -2
View File
@@ -24,6 +24,7 @@ services:
volumes:
- ./app-code:/var/www/app${DEV:+:delegated}
- ./docker/php/.env:/tmp/app.env:ro
- typesense-data:/typesense-data:ro
environment:
- GIT_TOKEN=${GIT_TOKEN}
- BACKEND_GIT_REPO=${BACKEND_GIT_REPO}
@@ -31,6 +32,7 @@ services:
- DEV=${DEV}
depends_on:
- mariadb
- typesense
restart: unless-stopped
healthcheck:
test: [ "CMD-SHELL", "test -d /var/www/app/vendor && pidof php-fpm || exit 1" ]
@@ -72,11 +74,12 @@ services:
restart: unless-stopped
typesense:
image: typesense/typesense:29.0
build:
context: ./docker/typesense
dockerfile: Dockerfile
restart: unless-stopped
volumes:
- typesense-data:/data
command: '--data-dir /data --api-key=${TYPESENSE_API_KEY} --enable-cors'
backup:
build: