Skip to content

Commit

Permalink
Merge pull request #54 from eugene-manuilov/feature/docker-compose
Browse files Browse the repository at this point in the history
chore: replaced docker.sh with the docker-compose configuration.
  • Loading branch information
ponderingdemocritus authored Jan 27, 2025
2 parents 08d00e5 + dead8ab commit 5b5dce7
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 28 deletions.
15 changes: 15 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: daydreams

services:
chroma:
image: chromadb/chroma:0.6.3
container_name: ${COMPOSE_PROJECT_NAME}_chroma
restart: always
ports:
- "8000:8000"
mongo:
image: mongo:8.0.4
container_name: ${COMPOSE_PROJECT_NAME}_mongo
restart: always
ports:
- "27017:27017"
21 changes: 0 additions & 21 deletions docker.sh

This file was deleted.

4 changes: 2 additions & 2 deletions docs/docs/pages/api-reference/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ pnpm install
# Copy environment variables
cp .env.example .env

# Start Docker services (ChromaDB)
sh ./docker.sh
# Start docker services
docker compose up -d
```

## Examples
Expand Down
9 changes: 6 additions & 3 deletions docs/docs/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ pnpm install
# Copy environment variables
cp .env.example .env

# Start Docker services (ChromaDB)
sh ./docker.sh
# Start docker services
docker compose up -d
```

## Examples
Expand Down Expand Up @@ -313,7 +313,10 @@ Design principles:
## Contributors

<a href="https://github.com/daydreamsai/daydreams/graphs/contributors">
<img src="https://contrib.rocks/image?repo=daydreamsai/daydreams" alt="Daydreams contributors" />
<img
src="https://contrib.rocks/image?repo=daydreamsai/daydreams"
alt="Daydreams contributors"
/>
</a>

## Star History
Expand Down
14 changes: 14 additions & 0 deletions prettier.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,18 @@ module.exports = {
trailingComma: "es5",
bracketSpacing: true,
printWidth: 80,
overrides: [
{
files: ["*.yaml", "*.yml"],
options: {
tabWidth: 2,
},
},
{
files: ["*.md", "*.mdx"],
options: {
tabWidth: 2,
},
},
],
};
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ pnpm install
# Copy environment variables
cp .env.example .env

# Start Docker services (ChromaDB)
sh ./docker.sh
# Start docker services
docker compose up -d
```

## Examples
Expand Down

0 comments on commit 5b5dce7

Please sign in to comment.