Compose for electrotech
Put them into .env
-
JWT_SECRET- randomly generated string -
DB_CONNECTION- connection string, has no default value but only uses as path in container, so leave just `/database/database.sqlite3` -
FTP_USERNAME- ftp username -
FTP_PASSWORD- ftp password -
FTP_PUBLIC_IP- public IP of the server, currently80.87.193.226 -
MAIL_ENABLE- true/false -
MAIL_PORT- default 587 -
MAIL_USER- email in formsomebody@domain.ru -
MAIL_HOST- mail host, for example:smtp.email.ru -
MAIL_PASSWORD- mail password -
MAIL_INFO_RECEIVER- just email -
MAIL_INFO_SENDER- UTF-8 string with sender name for all emails sended from server -
NUXT_PUBLIC_API_BASE- base url of the api, for example -
DOMAIN_EMAIL- your domain email, needs for certificates -
DOMAIN_URL- your domain, needs for certificates
docker compose run --rm certbot certonly --webroot --webroot-path /var/www/certbot/ -d example.org