Fess:WSL+Ubuntu+Docker上にFessをインストールしてみる

更新:2026.04.13 08:07
公開:2024.07.05 10:15

WSL+Ubuntu+Docker上にFessをインストールしてみる

WSL2上のUbuntuにDockerEngineを構築しFessのインストールを行ってみる。

環境

Windows 11 25H2 (26200.8037)

WSLバージョン
PS C:\Users\xxx> wsl --version
WSL バージョン: 2.3.24.0
カーネル バージョン: 5.15.153.1-2
WSLg バージョン: 1.0.65
MSRDC バージョン: 1.2.5620
Direct3D バージョン: 1.611.1-81528511
DXCore バージョン: 10.0.26100.1-240331-1435.ge-release
Windows バージョン: 10.0.26200.8037

Ubuntuバージョン
xxx@xxx:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble

手順

WSL+Ubuntuインストール

WSLおよびUbuntuのインストールを行う。
#9:WSL2のインストール手順(2021年11月現在)

Docker Engineインストール

UbuntuにDockerEngineをインストールする。
#12:Docker Engineをインストールしてみる

Fessインストール

DockerEngine上にFessをインストールする。
公式のインストール手順はこちら ⇒ https://fess.codelibs.org/ja/setup.html

1. 設定ファイルのダウンロード

mkdir fess-docker && cd fess-docker
curl -OL https://raw.githubusercontent.com/codelibs/docker-fess/master/compose/compose.yaml
curl -OL https://raw.githubusercontent.com/codelibs/docker-fess/master/compose/compose-opensearch3.yaml

実行結果:
root@xxx:~# mkdir fess-docker && cd fess-docker
root@xxx:~/fess-docker# curl -OL https://raw.githubusercontent.com/codelibs/docker-fess/master/compose/compose.yaml
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   867  100   867    0     0   3470      0 --:--:-- --:--:-- --:--:--  3468
root@xxx:~/fess-docker# curl -OL https://raw.githubusercontent.com/codelibs/docker-fess/master/compose/compose-opensearch3.yaml
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1258  100  1258    0     0   5601      0 --:--:-- --:--:-- --:--:--  5616
root@xxx:~/fess-docker# ls
compose-opensearch3.yaml  compose.yaml
      

2. コンテナの起動

docker compose -f compose.yaml -f compose-opensearch3.yaml up -d

実行結果:
root@xxx:~/fess-docker# docker compose -f compose.yaml -f compose-opensearch3.yaml up -d
[+] up 24/24
 ✔ Image ghcr.io/codelibs/fess-opensearch:3.5.0 Pulled                                                156.0s
 ✔ Image ghcr.io/codelibs/fess:15.5.1           Pulled                                                 95.0s
 ✔ Network fess-docker_search_net               Created                                                 0.0s
 ✔ Volume fess-docker_search01_data             Created                                                 0.0s
 ✔ Volume fess-docker_search01_dictionary       Created                                                 0.0s
 ✔ Container search01                           Healthy                                                11.2s
 ✔ Container fess01                             Started                                                11.1s
      

3. Fessの起動

Windowsにてブラウザを起動し "localhost:8080" へアクセスすればOK。
右上のloginで管理者画面にログイン
初期ユーザー・パスワードはともに "admin"
以上


WSL, Fess

0 件のコメント:

その他の記事