We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1771113 commit 8191eadCopy full SHA for 8191ead
1 file changed
dkroutingtool/compose.yml
@@ -1,17 +1,37 @@
1
+volumes:
2
+ redisdata:
3
+ driver: local
4
services:
5
+ cartredis:
6
+ image: redis
7
+ restart: always
8
+ volumes:
9
+ - redisdata:/data
10
+ command: redis-server --bind 0.0.0.0
11
backend:
12
13
image: ghcr.io/datakind/dk-routing:main
14
command: /opt/conda/bin/python src/py/server.py
15
ports:
16
- "5001:5001"
- - "8080:8080"
17
+ logging:
18
+ driver: "json-file"
19
+ options:
20
+ max-size: "10m"
21
+ max-file: "5"
22
frontend:
23
24
environment:
25
SERVER_HOST: backend
26
build:
27
context: ./src/py/ui/
28
dockerfile: dashboard.dockerfile
29
- - "8501:8501"
30
+ - "80:8501"
31
volumes:
32
- ./src/py/ui:/src/app
33
34
35
36
37
0 commit comments