Getting Started with Docker
Note for users who want to use the Docker edition of Pleasanter in production
The steps in this manual are simplified for users who want to try Pleasanter right away. If you plan to use the Docker edition of Pleasanter in production, we strongly recommend setting it up using the official procedure.
Overview¶
This section explains how to get started with Pleasanter on Docker right away, using the configuration values below.
| No | Setting | Parameter | Value | Notes |
|---|---|---|---|---|
| 1 | PostgreSQL version | POSTGRES_VERSION | 17 | |
| 2 | Password for the PostgreSQL admin user | POSTGRES_PASSWORD | SetSaPWD | |
| 3 | Password for the Sa connection string | Implem_Pleasanter_Rds_PostgreSQL PWD in SaConnectionString | SetSaPWD | Set the same value as No. 2 |
| 4 | Password for the Owner connection string | Implem_Pleasanter_Rds_PostgreSQL PWD in OwnerConnectionString | SetAdminsPWD | |
| 5 | Password for the User connection string | Implem_Pleasanter_Rds_PostgreSQL PWD in UserConnectionString | SetUsersPWD | |
| 6 | Pleasanter version | PLEASANTER_VERSION | latest | Retrieves the latest version at the time of use |
| 7 | Pleasanter language | CodeDefiner's /l option | "ja" | |
| 8 | Pleasanter time zone | CodeDefiner's /z option | "Asia/Tokyo" |
Steps¶
Here is an overview of the steps.
- Prepare a Docker runtime environment
- Create and move into a project directory
- Create the files
- Run CodeDefiner
- Start and stop Pleasanter
1. Prepare a Docker runtime environment¶
Prepare a Docker runtime environment (such as Docker Engine or Docker Desktop) appropriate for the OS you're using.
See the official Docker documentation to prepare a Docker runtime environment
For details, see the official Docker documentation below.
2. Create and move into a project directory¶
Run the following commands to create a project directory in a location of your choice, and move into it.
You can change the name of the project directory
The commands above use pleasanter as the project directory name, but you can change it to something else if you like.
3. Create the files¶
Create two files, .env and compose.yaml, inside the project directory.
.env¶
Open .env in a text editor, paste the content below, and save it.
compose.yaml¶
Open compose.yaml in a text editor, paste the content below, and save it.
4. Run CodeDefiner¶
In the project directory, run CodeDefiner with the following command.
5. Starting and stopping Pleasanter¶
Start Pleasanter¶
- In the project directory, run the following command to start Pleasanter.
- Open http://localhost:50001 in your web browser.
-
When the login screen appears, enter the following information.
Login ID Initial Password Administrator pleasanter -
Change the password to a secure one.
Stop Pleasanter¶
- Close your web browser.
- In the project directory, stop the containers.
Start Pleasanter again¶
- In the project directory, start the containers.
- Open http://localhost:50001 in your web browser.

