Skip to content

Commit

Permalink
Switch port of local docs setup to 9000 (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
afritzler authored Oct 30, 2024
1 parent 7e909ce commit 524ccf9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ lint-fix: golangci-lint ## Run golangci-lint linter and perform fixes
.PHONY: startdocs
startdocs: ## Start the local mkdocs based development environment.
docker build -t $(IMAGE) -f docs/Dockerfile . --load
docker run -p 8000:8000 -v `pwd`/:/docs $(IMAGE)
docker run -p 9000:9000 -v `pwd`/:/docs $(IMAGE)

.PHONY: cleandocs
cleandocs: ## Remove all local mkdocs Docker images (cleanup).
Expand Down
4 changes: 2 additions & 2 deletions docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ WORKDIR /docs
COPY docs/requirements.txt requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

EXPOSE 8000
EXPOSE 9000

# Start development server by default
ENTRYPOINT ["mkdocs"]
CMD ["serve", "--dev-addr=0.0.0.0:8000"]
CMD ["serve", "--dev-addr=0.0.0.0:9000"]

0 comments on commit 524ccf9

Please sign in to comment.