Isaiah Joshua Samonte
03/31/2025, 11:28 AM/health
API end-point to verify that the server is ready to accept requests.
curl <http://localhost:8108/health>
{"ok":true}
but that doesnt seem usable when in docker composeMikaela Caron
03/31/2025, 1:38 PMcurl
the /health
endpoint
you're running this curl command on the machine that you installed docker on, and your containers are running?Mikaela Caron
03/31/2025, 1:39 PMElliot Sawyer
03/31/2025, 5:26 PMMikaela Caron
04/01/2025, 4:33 AMElliot Sawyer
04/01/2025, 4:35 AMElliot Sawyer
04/01/2025, 4:36 AMElliot Sawyer
04/01/2025, 4:36 AMIsaiah Joshua Samonte
04/02/2025, 9:38 PMtypesense:
image: typesense/typesense:28.0
restart: unless-stopped
ports:
- 127.0.0.1:8108:8108
environment:
TYPESENSE_DATA_DIR: /var/lib/typesense/data
TYPESENSE_API_KEY: typesense
volumes:
- ./typesense/data:/var/lib/typesense/data
networks:
- rs-network
Isaiah Joshua Samonte
04/02/2025, 9:39 PMIsaiah Joshua Samonte
04/02/2025, 9:40 PMIsaiah Joshua Samonte
04/02/2025, 9:40 PMhealthcheck:
test: ["CMD-SHELL", "redis-cli", "ping"]
interval: 5s
timeout: 3s
retries: 3
Isaiah Joshua Samonte
04/02/2025, 9:40 PMIsaiah Joshua Samonte
04/02/2025, 9:40 PMElliot Sawyer
04/02/2025, 10:48 PMnetworks:
- rs-network
in the entire yml file, just to test if that resolves the issueElliot Sawyer
04/02/2025, 10:48 PM