fix: docs service starts by default with docker compose up

This commit is contained in:
lotherk
2026-03-27 02:29:57 +00:00
parent 5c8ebc9a03
commit 906e4d6201
3 changed files with 4 additions and 17 deletions

View File

@@ -32,8 +32,6 @@ services:
ports: ports:
- "4000:80" - "4000:80"
restart: unless-stopped restart: unless-stopped
profiles:
- docs
volumes: volumes:
deardiary_data: deardiary_data:

View File

@@ -94,17 +94,6 @@ Regularly backup `./data/` directory.
## Documentation Site ## Documentation Site
Run the documentation site with Docker: The documentation site is included in the stack and starts automatically with `docker compose up`.
```bash Access at `http://localhost:4000`
# Start just the docs site
docker compose --profile docs up -d
# Access at http://localhost:4000
```
Build the docs Docker image separately:
```bash
docker build -f Dockerfile.docs -t deardiary-docs .
```

View File

@@ -51,10 +51,10 @@ Change these credentials immediately after first login!
## Documentation Site ## Documentation Site
Run the documentation site separately: The documentation site is included and starts automatically:
```bash ```bash
docker compose --profile docs up -d docker compose up -d
``` ```
Access at `http://localhost:4000` Access at `http://localhost:4000`