Standard installation
Linux
8 min
basic requirements docker and docker compose plugin installed run by a user who is a member of the docker group avx compatible cpu main scripts online installation docid\ b mlz8pv7xczpjvyds51p offline installation docid 3ird8zkkt6tk245h6fl8w passwork migration docid\ wepvjr31g7q af3le5fig administration scripts docker docid\ b3voj0kmm9 iqzxkuqmr2 docker docid 5vgjm 2jeupwup1nxa wl description and advantages the standard installation on linux uses docker docker images are structured in such a way that all important data is stored in directories that are shared with the host machine, so you can stop, delete, and create new containers configuration files are also stored in mounted directories, so most configuration changes to components can be made without modifying docker images or containers directly to do this, make changes to the configuration file of the necessary component and restart the container contents the build consists of six containers some containers are launched by default, while the others can be enabled or disabled by changing the compose profiles environment variable in the env file nginx — an image based on the official nginx image it is launched by default php — an image with php and php fpm based on ubuntu it is launched by default cron — a separate container based on the php image for running scheduled tasks it is launched by default psmdb — an image based on the official percona server for mongodb image startup can be disabled if an external mongodb/psmdb is being used postfix — an image with postfix based on ubuntu it can be disabled if notifications are sent through php mailer certbot — the official certbot image from let's encrypt it is necessary if you are using a certificate from let's encrypt it can be disabled if you are using other ssl certificates scripts and commands scripts update sh — performs updates of the application code to the latest version available in your license db backup sh — backup all databases to the backup folder db restore sh — restores the backup if no backup name is passed, a list of available backups from the backup folder will be displayed collect log sh — collects component logs collect conf sh — collects component configuration files commands docker compose stop — stop the service docker compose restart — restart the service docker compose start — start a stopped service docker compose down — remove the service data, including the database and configuration files, will be preserved parameters and settings parameters most of the settings can be applied through environment variables in env or by modifying the configuration file of a separate component parameter description default value cert passwork certificate number used in the upgrade script to retrieve application files from the customer portal xxx xxx xxx xxx xxxxxxxxxxxx use letsencrypt use certbot to issue ssl certificates false letsencrypt staging test mode for certbot useful for debugging, since let's encrypt has a limit on the number of requests defaults to true to avoid errors due to a misconfigured dns record or others it is recommended to use staging first true letsencrypt reg email email for let’s encrypt domain domain for let’s encrypt alias containers name container's name prefix "passwork " compose profiles compose profiles that allow you to enable/disable the startup of services "local notify,mongo" php conf dir php config directory /conf/php php log dir php logs directory /log/php app dir passwork application directory /www/latest (symlink to the latest version) app log dir application logs directory /log/app keys dir the directory with the license keys as well as the main application configuration file /conf/keys nginx conf dir nginx config directory /conf/nginx nginx log dir nginx logs directory /log/nginx ssl dir directory with ssl certificates /conf/ssl mongo data dir directory with mongo data /data/mongo custom ca dir directory for additional root certificates (e g for ldaps) /conf/custom ca postfix log dir postfix logs directory /log/postfix postfix conf dir postfix config directory /conf/postfix saving settings after making changes to the env or configuration file of a specific component, it is necessary to restart the corresponding container docker restart container name to implement changes in config ini, please execute docker restart passwork php