feat: implement typesense container

This commit is contained in:
petitminion 2023-05-17 15:48:02 +00:00
commit 2db8c585ad
8 changed files with 73 additions and 2 deletions

View file

@ -92,3 +92,16 @@ services:
ports:
# override those variables in your .env file if needed
- "${FUNKWHALE_API_IP}:${FUNKWHALE_API_PORT}:80"
typesense:
restart: unless-stopped
env_file:
- .env
image: typesense/typesense:0.24.0
networks:
- internal
volumes:
- ./typesense/data:/data
command: --data-dir /data --enable-cors
profiles:
- typesense

View file

@ -15,6 +15,9 @@
# Additional options you may want to check:
# - MUSIC_DIRECTORY_PATH and MUSIC_DIRECTORY_SERVE_PATH if you plan to use
# in-place import
# - TYPESENSE_API_KEY if you want to enable typesense to experiment with
# the recommendation system set this. You can
# generate one using `openssl rand -base64 45`, for example
#
# Docker only
# -----------