mirror of https://github.com/docker/docs.git
20 lines
511 B
YAML
20 lines
511 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
|
|
pull_policy: never
|
|
ports:
|
|
- "4000:4000"
|