Skip to content

Commit

Permalink
update docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
hf-krechan committed Oct 30, 2024
1 parent 32d370d commit f71c428
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
services:
kroki:
image: yuzutech/kroki:0.24.1
ports:
- ${KROKI_PORT:-8125}:8000
env_file:
- path: .env
required: true # default is true

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

0 comments on commit f71c428

Please sign in to comment.