-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
39 lines (38 loc) · 992 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: "3.9"
services:
auditee:
image: auditee-local
build:
context: .
dockerfile: Dockerfile
environment:
PYTHONBREAKPOINT: ipdb.set_trace
volumes:
- ./auditee:/usr/src/auditee
- ./docs:/usr/src/docs
#- ./examples:/usr/src/examples
- ./pyproject.toml:/usr/src/pyproject.toml
- ./setup.cfg:/usr/src/setup.cfg
- ./setup.py:/usr/src/setup.py
- ./tests:/usr/src/tests
- /var/run/docker.sock:/var/run/docker.sock
builddocs:
image: auditee-dev
build:
context: .
dockerfile: Dockerfile
target: dev
volumes:
- ./auditee:/usr/src/auditee
- ./docs:/usr/src/docs
- ./pyproject.toml:/usr/src/pyproject.toml
- ./setup.cfg:/usr/src/setup.cfg
- ./setup.py:/usr/src/setup.py
- ./tests:/usr/src/tests
command: make -C docs html
viewdocs:
image: nginx
ports:
- '57333:80'
volumes:
- ./docs/_build/html:/usr/share/nginx/html