dd_id_1fae964625
4. System Technical
Server Setup
Table of Contents
Access
- SSH target comes from
server/var_www/config.xmldomains/droplet_ip. - SSH key path comes from
server/var_www/config.xmlssh/local_key_name. - Test access:
ssh -i "$HOME/.ssh/<local_key_name>" "root@<droplet_ip>" "echo ok"
Notes
- Droplet name: dracox
- IP: from
server/var_www/config.xmldomains/droplet_ip - Project location: /var/www (create if missing)
- See
docs/rulebook/3_Infrastructure/C_server/for required software and server bootstrap details. - Traefik terminates TLS for all domains and redirects HTTP to HTTPS.
Backend Init Command
Command
- One-time backend setup command (run inside the BE container):
docker exec BePhp php /var/www/symfony_be/bin/init_backend.php - Uploads directory structure created first:
/var/www/symfony_be/public/uploads,/var/www/symfony_be/public/uploads/avatars,/var/www/symfony_be/public/uploads/reports,/var/www/symfony_be/public/uploads/attachments,/var/www/symfony_be/public/uploads/tmp - After directory creation, it creates or updates the admin user as the final step.
- Admin credentials are read from
/var/www/config.xml(admin/email,admin/password). - The BE container mounts
/var/www/config.xmlas read-only (seeserver/var_www/docker-compose.yml).