mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
* Dockerfile: add option to enforce git log history for local dev Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com> * jekyll(last_modified_at): do not override if already set with frontmatter Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com> * jekyll(last_modified_at): use data files for commands reference instead of stub file Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com> * fix broken links Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com> Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com> Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
19 lines
488 B
YAML
19 lines
488 B
YAML
services:
|
|
docs:
|
|
# By default, docker compose up --build builds docs for a development
|
|
# environment (no Google Analytics, omitting some enterprise redirects,
|
|
# etc.)
|
|
#
|
|
# To test a "production" build, override the environment using:
|
|
#
|
|
# JEKYLL_ENV=production docker compose up --build
|
|
build:
|
|
args:
|
|
- JEKYLL_ENV
|
|
- DOCS_URL
|
|
- DOCS_ENFORCE_GIT_LOG_HISTORY
|
|
context: .
|
|
image: docs/docstage
|
|
ports:
|
|
- "4000:4000"
|