plantuml / plantuml-server

PlantUML Online Server
https://plantuml.com/
GNU General Public License v3.0
1.65k stars 472 forks source link

Why doesn't my PLANTUML_CONFIG_FILE environment variable work in Docker? #239

Closed cosmolin closed 2 years ago

cosmolin commented 2 years ago

My docker-compose.yml is written as follows:

version: '3'
services:

  server:
    container_name: plantuml-server
    image: plantuml/plantuml-server
    ports:
      - 8090:8080
    volumes:
      - ./config.puml:/srv/config.puml
    environment:
      - PLANTUML_CONFIG_FILE=/srv/config.puml

My config.puml is written as follows:

skinparam defaultTextAlignment center

Is there anything wrong?

cosmolin commented 2 years ago

Fixed