diff options
author | Jordan Cook <jordan.cook@pioneer.com> | 2021-04-04 21:21:24 -0500 |
---|---|---|
committer | Jordan Cook <jordan.cook@pioneer.com> | 2021-04-04 21:21:24 -0500 |
commit | 8ae34b76e045fdab57e95b01c66e86062169fde3 (patch) | |
tree | 03a63172be36da7ddf332ae909200a18aca87ef7 /docker-compose.yml | |
parent | 0ef5121050e4eaf459a0e14b0b8511b01f63bb5c (diff) | |
download | requests-cache-8ae34b76e045fdab57e95b01c66e86062169fde3.tar.gz |
Add Dockerfile + docker-compose config to make it easier to run the readthedocs build container
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 8b05132..d9b2452 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,5 @@ # Containers needed to test all backend services locally -version: '3' +version: '3.7' services: httpbin: @@ -36,10 +36,21 @@ services: - '6379:6379' environment: ALLOW_EMPTY_PASSWORD: 'yes' - # REDIS_DISABLE_COMMANDS: 'FLUSHDB,FLUSHALL' volumes: - 'redis_data:/bitnami/redis/data' + readthedocs: + container_name: readthedocs + build: + context: . + dockerfile: docs/Dockerfile + network: host + user: '1000' + tty: true + volumes: + - '.:/home/docs/project' + working_dir: '/home/docs/project/docs' + volumes: mongodb_data: driver: local |