turborepo-remote-cache: Cache server not working
Hope anyone that reads this is having a great day!
I only have the following line in the Docker Container logs, and no other log appears when I use the remote cache.
54896/11/01 01:17PM 30 Server listening at http://0.0.0.0:3000 | severity=INFO pid=6 hostname=turborepo-remote-cache
How do I know when I run the npm script build command, the action is importing the cache, and/or exporting it?
Is the STORAGE_PATH environmental variable correctly used along with volumes?
The following contains the contents of the TurboRepo Remote Cache docker-compose.yml file.
version: '3.9'
services:
turborepo-remote-cache:
image: fox1t/turborepo-remote-cache:1.8.0
container_name: turborepo-remote-cache
hostname: turborepo-remote-cache
environment:
- NODE_ENV=production
- TURBO_TOKEN='xxx'
- LOG_LEVEL=debug
- STORAGE_PROVIDER=local
- STORAGE_PATH=/tmp
volumes:
- /mnt/appdata/repo-team/turborepo-remote-cache/tmp:/tmp
ports:
- 3535:3000
networks:
- proxy
networks:
proxy:
driver: bridge
external: true
_Originally posted by @NorkzYT in https://github.com/ducktors/turborepo-remote-cache/discussions/84_
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 20
@NorkzYT
Had the same issue, and did some Wiresharkin during the docker-build process. I noticed that there was TLS-handshake error when connecting to turbo-cache server. I was also using node-slim baseimage and after installing ca-certificates package to the container remote cache started to work:
RUN apt-get update && apt-get install -y
ca-certificates \
the second package, in this case, had to be re-built
Should we add this to the documentation on our side?
Hey! What is your local turborepo client saying? Is the remote cache enabled? Can you double-check if you followed all steps here?