generated from Hochfrequenz/python_template_repository
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
24 lines (24 loc) · 1.03 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
services:
kroki:
image: yuzutech/kroki:0.24.1
ports:
- "8000:8000" # Expose localhost:8000
# this is required for the test_main.py to directly use kroki
scrape-and-plot:
build: .
image: ghcr.io/hochfrequenz/ebd_toolchain:latest
# If you run into 'manifest unknown' during docker pull, try replacing `:latest` with `:v1.2.3`.
# where v1.2.3 is the latest version of the GHCR image, which can be found here:
# https://github.com/Hochfrequenz/ebd_toolchain/pkgs/container/ebd_toolchain
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