docker-compose.yml
· 547 B · YAML
Surowy
services:
# PlantUML
plantuml:
container_name: ${PLANTUML_CONTAINER_NAME:-PlantUML}
hostname: plantuml
image: plantuml/plantuml-server:${PLANTUML_TAG:-latest}
restart: ${RESTART:-unless-stopped}
healthcheck:
test: curl -f http://localhost:8080/ || exit 1
ports:
- ${PLANTUML_PORT:-8080}:8080
volumes:
# Bind mounts
#- /${SYNOLOGY_VOLUME:-volume1}/docker/${PLANTUML_CONTAINER_NAME:-PlantUML}/tmp/jetty:/tmp/jetty
# Volumes
- plantuml:/tmp/jetty
volumes:
# PlantUML
plantuml:
| 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 |
| 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: |
| 21 |
sample.env
· 171 B · Bash
Surowy
# Uncomment and change the following variables if you want to use them.
#RESTART=unless-stopped
#PLANTUML_CONTAINER_NAME=PlantUML
#PLANTUML_TAG=latest
#PLANTUML_PORT=8080
| 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 |
| 6 |