-
Notifications
You must be signed in to change notification settings - Fork 19
/
docker-compose.yml
52 lines (46 loc) · 970 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
40
41
42
43
44
45
46
47
48
49
50
51
52
version: '3'
services:
shell:
build: .
image: eeweather_shell
stdin_open: true
tty: true
entrypoint: /bin/sh
volumes:
- .:/app
docs:
image: eeweather_shell
ports:
- "${HOST_PORT_DOCS:-8000}:8000"
entrypoint: make -C docs livehtml
volumes:
- .:/app
test:
image: eeweather_shell
entrypoint: py.test -n0
volumes:
- .:/app
- /app/tests/__pycache__/
jupyter:
ports:
- "${HOST_PORT_JUPYTER:-8888}:${HOST_PORT_JUPYTER:-8888}"
image: eeweather_shell
entrypoint: |
jupyter lab scripts/ --ip=0.0.0.0 --port=${HOST_PORT_JUPYTER:-8888} --allow-root --no-browser
volumes:
- .:/app
eeweather:
image: eeweather_shell
entrypoint: eeweather
volumes:
- .:/app
python:
image: eeweather_shell
entrypoint: python
volumes:
- .:/app
blacken:
image: eeweather_shell
entrypoint: black .
volumes:
- .:/app