-
Notifications
You must be signed in to change notification settings - Fork 68
/
docker-compose.yml
51 lines (46 loc) · 1.05 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
version: '3'
services:
shell:
build: .
image: eemeter_shell
stdin_open: true
tty: true
entrypoint: /bin/sh
volumes:
- .:/app
- /app/tests/__pycache__/
docs:
image: eemeter_shell
ports:
- "${HOST_PORT_DOCS:-8000}:8000"
entrypoint: make -C docs livehtml
volumes:
- .:/app
- /app/tests/__pycache__/
test:
image: eemeter_shell
entrypoint: py.test -n0
volumes:
- .:/app
- /app/tests/__pycache__/
jupyter:
image: eemeter_shell
ports:
- "${HOST_PORT_JUPYTER:-8888}:${HOST_PORT_JUPYTER:-8888}"
entrypoint: |
jupyter lab scripts/ --ip=0.0.0.0 --port=${HOST_PORT_JUPYTER:-8888} --allow-root --no-browser
volumes:
- .:/app
- /app/tests/__pycache__/
pipenv:
image: eemeter_shell
entrypoint: pipenv
environment:
- PIPENV_CACHE_DIR=/app/.docker-pipenv-cache # if you get weird caching behavior remove this dir
volumes:
- .:/app
blacken:
image: eemeter_shell
entrypoint: black .
volumes:
- .:/app