1
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?

TypeDock のDockerでのインストール手順

1
Last updated at Posted at 2026-05-28

Wordpressの後継を名乗るには畏れ多いので「型のあるDock(港)」ぐらいのニュアンスで、というTypeDockが気になったのでインストールしてみた。

本手順の前提

  • Ubuntu 26.04
  • Docker
git clone https://github.com/typedock/core.git
mv core typedockcore
cd typedockcore

環境ファイルを作成

cp docker.env.example .env
vi .env

今回は SQLite を使用するためママとする

DB_DRIVER=sqlite

config.php を作成

cp config.php.example config.php

APP_KEY を生成

openssl rand -hex 32

config.php を編集

vi config.php

生成された値を APP_KEY に設定

-'APP_KEY' => '',
+'APP_KEY' => 'ここに生成した値',

-'APP_URL'        => 'http://localhost',
+'APP_URL'        => 'http://localhost:8080',

-'DB_DRIVER'      => 'mysql',
+'DB_DRIVER'      => 'sqlite',

composer インストール

composer install

Docker コンテナ起動

docker compose up -d --build
docker compose ps

インストール開始画面

http://localhost:8080/install

Language を ja に。

ホーム画面

http://localhost:8080

管理画面

http://localhost:8080/admin/login

db-admin画面

http://localhost:8081
1
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
1
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?