Spanish Total.js
English
Documentation For AI agents
Contents

Docker projects

Where to find the Docker controls of a project in Total.js Code.

.md GitHub
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.

OptionWhat it is for
HostnamesExtra host names of the application, separated by commas
Docker: enable release modeRuns the application in release mode
Docker: enable custom docker-compose.yamlUses the docker-compose.yaml file of the project
Docker: use logs directly from the docker containerShows the logs of the container
Custom SSL certificate nameThe name of your own certificate, for example apps.yourdomain.com

All options are listed in Project options.

Made in Europe