Skip to content

The open-source AI receptionist for businesses. Answers every call, books the appointment and hands over to a person when needed. You own the code and the data.

814 B
Raw Blame
#!/bin/sh
# docker compose for development: the whole-application file plus the local dev ports.
# .env.example supplies the development values (compose requires the LiveKit key and secret);
# .env, when it exists, overrides them. So `pnpm db:up` also works on a fresh checkout.
# The project is this checkout's own (scripts/compose-dev-project.sh), not the `linedesk` of a self-hosted install.
set -e
cd "$(dirname "$0")/.."
COMPOSE_PROJECT_NAME=$(sh scripts/compose-dev-project.sh)
export COMPOSE_PROJECT_NAME
if [ -f .env ]; then
  exec docker compose --env-file .env.example --env-file .env -f docker-compose.yml -f docker-compose.ports.yml -f docker-compose.snapshot.yml "$@"
fi
exec docker compose --env-file .env.example -f docker-compose.yml -f docker-compose.ports.yml -f docker-compose.snapshot.yml "$@"