From 906e4d62017d8bd14fad1b24af6c4811b7c21637 Mon Sep 17 00:00:00 2001 From: lotherk Date: Fri, 27 Mar 2026 02:29:57 +0000 Subject: [PATCH] fix: docs service starts by default with docker compose up --- docker-compose.yml | 2 -- docs/src/content/docs/deployment/docker.mdx | 15 ++------------- .../content/docs/getting-started/installation.mdx | 4 ++-- 3 files changed, 4 insertions(+), 17 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index dc1aa73..6893aac 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -32,8 +32,6 @@ services: ports: - "4000:80" restart: unless-stopped - profiles: - - docs volumes: deardiary_data: diff --git a/docs/src/content/docs/deployment/docker.mdx b/docs/src/content/docs/deployment/docker.mdx index b5e29c6..fec6728 100644 --- a/docs/src/content/docs/deployment/docker.mdx +++ b/docs/src/content/docs/deployment/docker.mdx @@ -94,17 +94,6 @@ Regularly backup `./data/` directory. ## Documentation Site -Run the documentation site with Docker: +The documentation site is included in the stack and starts automatically with `docker compose up`. -```bash -# 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 . -``` +Access at `http://localhost:4000` diff --git a/docs/src/content/docs/getting-started/installation.mdx b/docs/src/content/docs/getting-started/installation.mdx index fc95673..25e6979 100644 --- a/docs/src/content/docs/getting-started/installation.mdx +++ b/docs/src/content/docs/getting-started/installation.mdx @@ -51,10 +51,10 @@ Change these credentials immediately after first login! ## Documentation Site -Run the documentation site separately: +The documentation site is included and starts automatically: ```bash -docker compose --profile docs up -d +docker compose up -d ``` Access at `http://localhost:4000`