-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathdocker-compose.yml
48 lines (45 loc) · 1.49 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
version: '3.3'
services:
plantuml-markdown:
build:
context: .
args:
- MARKDOWN_VER=${MARKDOWN_VER:-3.4.1}
- PYTHON_VER=${PYTHON_VER:-3.12}
command: ['/bin/sh', '-c', 'pip3 install --force-reinstall /plantuml_markdown && nose2 --verbose -F']
volumes:
- .:/plantuml_markdown
- ./test:/plantuml-markdown/test
kroki:
image: yuzutech/kroki
restart: "no"
# depends_on:
# - blockdiag
#deploy:
#restart_policy:
#condition: on-failure
#resources:
#limits:
#memory: 128M
# volumes:
# - ./plantuml-includes:/mnt/includes:ro
networks:
# - kroki-net
- revproxy
# environment:
## Elenco configurazioni: https://docs.kroki.io/kroki/setup/configuration/
# KROKI_SAFE_MODE: secure # unsafe, safe, secure
# KROKI_PLANTUML_ALLOW_INCLUDE: "false"
# KROKI_PLANTUML_INCLUDE_PATH: /mnt/includes
# KROKI_BLOCKDIAG_HOST: blockdiag
##- KROKI_MERMAID_HOST=mermaid
labels:
diun.enable: "true"
traefik.enable: "true"
traefik.docker.network: revproxy
traefik.http.routers.kroki.rule: PathPrefix(`/kroki`)
traefik.http.routers.kroki.middlewares: stripprefix@file
traefik.http.services.kroki.loadbalancer.server.port: 8000
networks:
revproxy:
external: true