AXChrono 修订了这个 Gist . 跳至此修订
没有变更
AXChrono 修订了这个 Gist . 跳至此修订
1 file changed, 0 insertions, 0 deletions
.env 重命名为 sample.env
文件已重命名,但名称与之前没有差异
AXChrono 修订了这个 Gist . 跳至此修订
1 file changed, 9 insertions
docker-compose.yml
@@ -9,3 +9,12 @@ services: | |||
9 | 9 | test: curl -f http://localhost:8080/ || exit 1 | |
10 | 10 | ports: | |
11 | 11 | - ${PLANTUML_PORT:-8080}:8080 | |
12 | + | volumes: | |
13 | + | # Bind mounts | |
14 | + | #- /${SYNOLOGY_VOLUME:-volume1}/docker/${PLANTUML_CONTAINER_NAME:-PlantUML}/tmp/jetty:/tmp/jetty | |
15 | + | # Volumes | |
16 | + | - plantuml:/tmp/jetty | |
17 | + | ||
18 | + | volumes: | |
19 | + | # PlantUML | |
20 | + | plantuml: |
AXChrono 修订了这个 Gist . 跳至此修订
2 files changed, 16 insertions
.env(文件已创建)
@@ -0,0 +1,5 @@ | |||
1 | + | # Uncomment and change the following variables if you want to use them. | |
2 | + | #RESTART=unless-stopped | |
3 | + | #PLANTUML_CONTAINER_NAME=PlantUML | |
4 | + | #PLANTUML_TAG=latest | |
5 | + | #PLANTUML_PORT=8080 |
docker-compose.yml(文件已创建)
@@ -0,0 +1,11 @@ | |||
1 | + | services: | |
2 | + | # PlantUML | |
3 | + | plantuml: | |
4 | + | container_name: ${PLANTUML_CONTAINER_NAME:-PlantUML} | |
5 | + | hostname: plantuml | |
6 | + | image: plantuml/plantuml-server:${PLANTUML_TAG:-latest} | |
7 | + | restart: ${RESTART:-unless-stopped} | |
8 | + | healthcheck: | |
9 | + | test: curl -f http://localhost:8080/ || exit 1 | |
10 | + | ports: | |
11 | + | - ${PLANTUML_PORT:-8080}:8080 |