Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: "3.7"

services:
docs:
image: python:3.6
command: sh -c "pip install -r requirements.txt && mkdocs serve -a 0.0.0.0:8000"
working_dir: /docs
volumes:
- ./:/docs
ports:
- 8000:8000
6 changes: 5 additions & 1 deletion docs/contributing_docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ We publish our documentation using Netlify.

## Previewing rendered content

### Previewing docs locally
### Using Docker locally

The root of the project contains a `docker-compose.yml` file. Simply run `docker-compose up` and then access the docs at [http://localhost:8000](http://localhost:8000).

### Using Python locally

* Ensure that you have Python 3.6.0 or higher.
* Set up a virtualenv and run `pip install -r requirements.txt` in the `testcontainers-java` root directory.
Expand Down