AXChrono zrewidował ten Gist . Przejdź do rewizji
Brak zmian
AXChrono zrewidował ten Gist . Przejdź do rewizji
1 file changed, 0 insertions, 0 deletions
.env zmieniono nazwę na sample.env
Zmieniono nazwę pliku bez modyfikacji zawartości
AXChrono zrewidował ten Gist . Przejdź do rewizji
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 zrewidował ten Gist . Przejdź do rewizji
2 files changed, 16 insertions
.env(stworzono plik)
| @@ -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(stworzono plik)
| @@ -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 | |