Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
Signed-off-by: AbstractionFactory <[email protected]>
  • Loading branch information
abstractionfactory committed Nov 27, 2024
1 parent d5c4679 commit 0a80703
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
POSTGRES_DB: postgres
POSTGRES_PASSWORD: secret
ports:
- "127.0.0.1:5432:5432"
- "5432:5432"
volumes:
- type: bind
source: ./search/pg-indexer/schema.sql
Expand All @@ -19,12 +19,12 @@ services:
target: /work
type: bind
ports:
- "127.0.0.1:8080:8080"
- "3000:3000"
dataapi:
build:
context: search/worker
ports:
- "127.0.0.1:8787:8787"
- "8787:8787"
volumes:
- source: ./search/worker
target: /work
Expand Down
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ RUN npm install -g pnpm
VOLUME ["/work"]
EXPOSE 3000

CMD ["/bin/bash", "-c", "echo VITE_DATA_API_URL=http://dataapi:8787 >.env && pnpm i && pnpm run dev --host 0.0.0.0 --port 3000"]
CMD ["/bin/bash", "-c", "echo VITE_DATA_API_URL=http://127.0.0.1:8787 >.env && pnpm i && pnpm run dev --host 0.0.0.0 --port 3000"]

0 comments on commit 0a80703

Please sign in to comment.