fix: docs service starts by default with docker compose up
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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 .
|
|
||||||
```
|
|
||||||
|
|||||||
@@ -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`
|
||||||
|
|||||||
Reference in New Issue
Block a user