-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
40 lines (37 loc) · 1.1 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
version: "3"
services:
main:
image: marius311/cmblensing.jl:${TAG:-stable}
build:
context: .
args:
PACKAGECOMPILE: 0
MAKEDOCS: 1
ports:
- "${PORT:-8888}:${PORT:-8888}"
- "${DOCS:-8000}:${DOCS:-8000}"
hostname: localhost
environment:
- PORT=${PORT:-8888}
- DOCS=${DOCS:-8000}
command: ["sh", "-c", "python3 -m http.server $$DOCS -d /home/cosmo/CMBLensing/docs/build & jupyter lab --ip=0.0.0.0 --no-browser --port $$PORT"]
debug:
build:
context: .
args:
RUNDOCS: 0
PRECOMPILE: 0
PACKAGECOMPILE: 0
ports:
- "${PORT:-8888}:${PORT:-8888}"
- "${DOCS:-8000}:${DOCS:-8000}"
hostname: localhost
environment:
- PORT=${PORT:-8888}
- DOCS=${DOCS:-8000}
volumes:
- "./src:/home/cosmo/CMBLensing/src"
- "./ext:/home/cosmo/CMBLensing/ext"
- "./docs:/home/cosmo/CMBLensing/docs"
- "/home/cosmo/.julia"
command: ["sh", "-c", "python3 -m http.server $$DOCS -d /home/cosmo/CMBLensing/docs/build & jupyter lab --ip=0.0.0.0 --no-browser --port $$PORT"]