Skip to content

Commit

Permalink
Debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinquillen committed Nov 7, 2023
1 parent 900bc55 commit acb56af
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
20 changes: 18 additions & 2 deletions docker-compose.typesense.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,32 @@
#ddev-generated
services:
addon-template:
typesense:
container_name: ddev-${DDEV_SITENAME}-typesense
hostname: ${DDEV_SITENAME}-typesense
image: typesense/typesense:0.25.1
command: '--data-dir /data --api-key=test --enable-cors'
networks: [default, ddev_default]
restart: "no"
environment:
- VIRTUAL_HOST=$DDEV_HOSTNAME
ports:
- "8108:8108"
labels:
com.ddev.site-name: ${DDEV_SITENAME}
com.ddev.approot: $DDEV_APPROOT
volumes:
- "./typesense-data:/data"
- "typesense:/data"
- ".:/mnt/ddev_config"
typesense_admin:
container_name: typesense_admin
image: ghcr.io/lewynation/typesense-admin-dashboard:latest
restart: always
ports:
- "3005:3000"
external_links:
- "ddev-router:${DDEV_SITENAME}.${DDEV_TLD}"
volumes:
# typesense is a persistent Docker volume for typesense data
# The persistent volume should have the same name as the service so it can be deleted
# when the project is deleted.
typesense:
6 changes: 0 additions & 6 deletions install.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
name: typesense

pre_install_commands:
- mkdir $(DDEV_APPROOT)/typesense-data

project_files:
- docker-compose.typesense.yaml

removal_actions:
- rm $(DDEV_APPROOT)/typesense-data

0 comments on commit acb56af

Please sign in to comment.