mirror of
https://github.com/shankar0123/certctl.git
synced 2026-06-07 13:51:36 +00:00
docs: add --build flag to all docker compose up commands
Without --build, Docker reuses cached images that don't include the built frontend, resulting in a blank page. Every doc that tells users to run docker compose up now includes --build. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -36,7 +36,7 @@ flowchart LR
|
||||
```bash
|
||||
git clone https://github.com/shankar0123/certctl.git
|
||||
cd certctl
|
||||
docker compose -f deploy/docker-compose.yml up -d
|
||||
docker compose -f deploy/docker-compose.yml up -d --build
|
||||
```
|
||||
|
||||
Wait ~30 seconds, then open **http://localhost:8443** in your browser.
|
||||
|
||||
@@ -10,7 +10,7 @@ This demo goes beyond browsing pre-loaded data. You'll create a team, register a
|
||||
Make sure certctl is running:
|
||||
|
||||
```bash
|
||||
docker compose -f deploy/docker-compose.yml up -d
|
||||
docker compose -f deploy/docker-compose.yml up -d --build
|
||||
# Wait for healthy status
|
||||
docker compose -f deploy/docker-compose.yml ps
|
||||
```
|
||||
@@ -541,7 +541,7 @@ echo ""
|
||||
echo -e "${YELLOW}Step 1: Checking server health...${NC}"
|
||||
HEALTH=$(curl -s $API/health | jq -r '.status')
|
||||
if [ "$HEALTH" != "healthy" ]; then
|
||||
echo "Server is not healthy. Run: docker compose -f deploy/docker-compose.yml up -d"
|
||||
echo "Server is not healthy. Run: docker compose -f deploy/docker-compose.yml up -d --build"
|
||||
exit 1
|
||||
fi
|
||||
echo -e "${GREEN}Server is healthy${NC}"
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ New to certificates? Read the [Concepts Guide](concepts.md) first. Want a hands-
|
||||
```bash
|
||||
git clone https://github.com/shankar0123/certctl.git
|
||||
cd certctl
|
||||
docker compose -f deploy/docker-compose.yml up -d
|
||||
docker compose -f deploy/docker-compose.yml up -d --build
|
||||
```
|
||||
|
||||
Wait ~30 seconds for PostgreSQL to initialize and the server to start, then open:
|
||||
|
||||
+3
-1
@@ -20,9 +20,11 @@ On Linux, follow the official Docker install guide for your distribution.
|
||||
```bash
|
||||
git clone https://github.com/shankar0123/certctl.git
|
||||
cd certctl
|
||||
docker compose -f deploy/docker-compose.yml up -d
|
||||
docker compose -f deploy/docker-compose.yml up -d --build
|
||||
```
|
||||
|
||||
The `--build` flag is important — it builds the server image including the React frontend. Without it, Docker may use a stale cached image that doesn't include the dashboard.
|
||||
|
||||
Wait about 30 seconds for PostgreSQL to initialize and the server to boot. Check that everything is healthy:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user