Accéder à l'application
Ouvrez votre navigateur et rendez-vous sur : http://<SERVER_IP>
First startup may take a few minutes; a temporary Nginx 502 during this time is normal.
Identifiants de connexion par défaut :
- Courriel :
[email protected] - Mot de passe :
sample
Please do not forget to change your email and password from the settings page.
Chemins importants
- Répertoire d'installation :
/opt/automatisch - Project directory:
/opt/automatisch - Fichier Docker Compose :
/opt/automatisch/docker-compose.yml - Application storage (volume):
/var/lib/docker/volumes/automatisch_automatisch_storage/_data - PostgreSQL data (volume):
/var/lib/docker/volumes/automatisch_postgres_data/_data - Redis data (volume):
/var/lib/docker/volumes/automatisch_redis_data/_data - Configuration NGINX :
/etc/nginx/sites-available/automatisch - NGINX enabled site:
/etc/nginx/sites-enabled/automatisch
Common Commands
Navigate to project:
cd /opt/automatisch
Afficher les journaux :
docker compose logs -f
Redémarrer les services :
docker compose restart
Stop / Start:
docker compose down
docker compose up -d
Vérifier les conteneurs :
docker ps
Services
- Main: Automatisch web application, exposed on port 3000
- Worker: Background job processor, internal
- PostgreSQL: Database service, internal (default port 5432)
- Redis: Queue and cache service, internal (default port 6379)
Activation du protocole SSL avec un domaine
1. Pointez votre domaine vers l'adresse IP du serveur.
2. Modifiez la configuration Nginx et remplacez les deux server_name _; avec votre domaine (<your-domain>) :
vim /etc/nginx/sites-available/automatisch
3. Installez Certbot :
apt install -y certbot python3-certbot-nginx
4. Exécutez la commande suivante pour générer un certificat Let’s Encrypt valide :
certbot --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com
5. Redémarrez Nginx pour appliquer les modifications :
systemctl restart nginx
6. Ouvrez votre navigateur et rendez-vous sur : https://yourdomain.com
