0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

PlantUMLの導入

Posted at

環境情報

  • Ubuntu 16.04.3
  • Docker CE 19.03.12
  • Docker Compose 1.26.2
  • PlantUML Server v1.2021.7

前提条件

  • 以下ソフトウェアがインストールされていること
    • Docker CE
    • Docker Compose

作業ログ

docker-compose.ymlの作成

以下を少し編集して使用する。
https://github.com/plantuml/plantuml-server/blob/v1.2021.7/docker-compose.yml

version: '3.3'

services:
  plantuml-server:
    image: plantuml/plantuml-server:jetty-v1.2021.7
    container_name: plantuml-server
    ports:
      - 18080:8080
$ wget https://raw.githubusercontent.com/plantuml/plantuml-server/v1.2021.7/docker-compose.yml

... snip ...

2021-08-06 06:54:54 (29.5 MB/s) - ‘docker-compose.yml’ saved [253/253]

$ vim docker-compose.yml 
$ docker-compose up -d
Pulling plantuml-server (plantuml/plantuml-server:jetty-v1.2021.7)...
jetty-v1.2021.7: Pulling from plantuml/plantuml-server

... snip ...

Creating plantuml-server ... done
$ docker-compose ps
     Name                    Command               State            Ports         
----------------------------------------------------------------------------------
plantuml-server   /docker-entrypoint.sh java ...   Up      0.0.0.0:18080->8080/tcp

ブラウザからhttp://<ホストのIPアドレス>:18080/にアクセス

PlantUMLのUIにアクセスできた!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?