Skip to content

Commit f71c428

Browse files
committed
update docker-compose
1 parent 32d370d commit f71c428

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docker-compose.yaml

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
services:
22
kroki:
33
image: yuzutech/kroki:0.24.1
4-
ports:
5-
- ${KROKI_PORT:-8125}:8000
6-
env_file:
7-
- path: .env
8-
required: true # default is true
94

105
scrape-and-plot:
116
build: .
@@ -16,6 +11,12 @@ services:
1611
volumes:
1712
- ${EBD_DOCX_FILE}:/container/ebd.docx
1813
- ${OUTPUT_DIR}:/container/output
14+
# we need to set the KROKI_HOST and KROKI_PORT to the host and port of the kroki service
15+
# this is configurable here, but it does not need to be changed if the kroki service is named "kroki"
16+
environment:
17+
KROKI_PORT: "8000"
18+
KROKI_HOST: "kroki"
19+
# the .env file contains the parameter which the user can set
1920
env_file:
2021
- path: .env
21-
required: true # default is true
22+
required: true # default is true

0 commit comments

Comments
 (0)