Docker projects
Where to find the Docker controls of a project in Total.js Code.
On this page
Code can run each project in its own Docker container. The official installations are prepared for this.
Turn Docker on
Docker needs two settings, FOLDER_WWW and FOLDER_NPM. Both official docker-compose.yaml files have them. Without them, Code shows the message Docker engine is not activated. See the configuration.
Control a project
- In the editor, click Docker at the right of the tab bar.
- On the Projects screen, check one or more projects, click Selected and choose Run Docker, Stop Docker or Restart.
The list of projects has the columns Running, CPU, Memory and Network.
Options of a project
The project form has these Docker options. Click a project on the Projects screen to open it.
| Option | What it is for |
|---|---|
| Hostnames | Extra host names of the application, separated by commas |
| Docker: enable release mode | Runs the application in release mode |
| Docker: enable custom docker-compose.yaml | Uses the docker-compose.yaml file of the project |
| Docker: use logs directly from the docker container | Shows the logs of the container |
| Custom SSL certificate name | The name of your own certificate, for example apps.yourdomain.com |
All options are listed in Project options.