chore(compose): prepare minio and typesense for reinclusion

This commit is contained in:
jon r 2024-10-11 12:54:48 +02:00
parent 57ca4fd86d
commit c29cc21259
2 changed files with 9 additions and 14 deletions

View File

@ -1,13 +1,12 @@
services:
typesense:
env_file:
- .env.dev
- .env
image: typesense/typesense:0.24.0
environment:
- TYPESENSE_API_KEY
image: typesense/typesense:0.27.1
networks:
- internal
volumes:
- ./typesense/data:/data
command: --data-dir /data --enable-cors
- ../.state/typesense/data:/data
command: --data-dir /data --api-key=$${TYPESENSE_API_KEY} --enable-cors
profiles:
- typesense

View File

@ -5,8 +5,8 @@ services:
volumes:
- "../.state/${COMPOSE_PROJECT_NAME:-funkwhale}/minio:/data"
environment:
- "MINIO_ACCESS_KEY=${AWS_ACCESS_KEY_ID-access_key}"
- "MINIO_SECRET_KEY=${AWS_SECRET_ACCESS_KEY-secret_key}"
- "MINIO_ACCESS_KEY=${AWS_ACCESS_KEY_ID:-access_key}"
- "MINIO_SECRET_KEY=${AWS_SECRET_ACCESS_KEY:-secret_key}"
- "MINIO_HTTP_TRACE: /dev/stdout"
ports:
- "9000:9000"
@ -16,12 +16,8 @@ services:
api:
depends_on:
- postgres
- minio
- redis
minio: {}
celeryworker:
depends_on:
- postgres
- minio
- redis
minio: {}