Skip to content

Commit

Permalink
Merge pull request #17 from Odraxs/fix-docker-compose
Browse files Browse the repository at this point in the history
Fix docker compose file
  • Loading branch information
Odraxs authored Mar 12, 2024
2 parents 4ce79f4 + 6b4d987 commit 238178a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Right now the server doesn't need any external configuration, just make sure tha
zincsearch server is running in `localhost:4080` and that the user credentials are the same
as the ones set in `config/credentials.go`
- Change `zincsearchEndpoint` to `http://localhost:4080/api` in the `zincsearchRepo.go` file.
- Change `zincsearchEndpoint` to `http://localhost:4080/api` in the `zincsearch_repo.go` file.
- Start server
```bash
Expand Down
6 changes: 3 additions & 3 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
zincsearch:
image: public.ecr.aws/zinclabs/zincsearch:latest
volumes:
- ./data-embedding:/data:Z
- ../data-embedding:/data:Z
environment:
- ZINC_DATA_PATH=/data
- ZINC_FIRST_ADMIN_USER=admin
Expand All @@ -13,14 +13,14 @@ services:
- '4080:4080'

server:
build: ./server
build: ../server
depends_on:
- zincsearch
ports:
- '3001:3001'

web:
build: ./web
build: ../web
depends_on:
- server
ports:
Expand Down

0 comments on commit 238178a

Please sign in to comment.