-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
58 lines (52 loc) · 1.16 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
52
53
54
55
56
57
58
x-common-nginx:
&common-nginx
ports:
- 8001:80
services:
nginx:
<<: *common-nginx
profiles:
- prod
build: .
volumes:
- ./data:/var/www/data:ro
nginx-dev:
<<: *common-nginx
profiles:
- dev
image: nginx
volumes:
- ./data:/var/www/data:ro
- ./nginx/dev.conf.template:/etc/nginx/templates/default.conf.template:ro
vite:
build:
target: frontend
volumes:
- ./src:/app/src
- ./config.js:/app/public/config.js
ports:
- "3000:3000"
profiles:
- dev
titiler:
build: ./titiler
tty: true
stdin_open: true
ports:
- "5002:8080"
volumes:
- ./titiler/src:/app/src
environment:
- TITILER_API_ROOT_PATH=/tiler
- TITILER_API_CACHECONTROL=no-cache
- REDIS_HOST=redis
command: ["pdm", "run", "uvicorn", "src.app.app:app", "--host", "0.0.0.0", "--port", "8080", "--reload"]
jupyter:
build: ./titiler
command: jupyter notebook --allow-root --ip 0.0.0.0 --no-browser --NotebookApp.token='' --NotebookApp.password=''
ports:
- 8888:8888
volumes:
- ./titiler/src:/app/src
redis:
image: redis