Hozzáférés az alkalmazáshoz
Nyissa meg a böngészőjét, és lépjen a következő oldalra: http://<SERVER_IP>
First startup may take a few minutes; a temporary Nginx 502 during this time is normal.
Alapértelmezett bejelentkezési adatok:
- E-mail:
[email protected] - Jelszó:
sample
Please do not forget to change your email and password from the settings page.
Fontos utak
- Telepítési könyvtár:
/opt/automatisch - Project directory:
/opt/automatisch - Docker Compose fájl:
/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 - NGINX konfiguráció:
/etc/nginx/sites-available/automatisch - NGINX enabled site:
/etc/nginx/sites-enabled/automatisch
Common Commands
Navigate to project:
cd /opt/automatisch
Naplók megtekintése:
docker compose logs -f
Szolgáltatások újraindítása:
docker compose restart
Stop / Start:
docker compose down
docker compose up -d
Konténerek ellenőrzése:
docker ps
Szolgáltatások
- 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)
SSL engedélyezése domainnel
1. Irányítsa domainjét a szerver IP-címére.
2. Szerkessze az Nginx konfigurációt, és cserélje ki mindkettőt server_name _; a domainjével (<your-domain>):
vim /etc/nginx/sites-available/automatisch
3. Telepítse a Certbotot:
apt install -y certbot python3-certbot-nginx
4. Futtassa a következő parancsot egy érvényes Let’s Encrypt tanúsítvány létrehozásához:
certbot --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com
5. Restart Nginx to apply the changes:
systemctl restart nginx
6. Nyissa meg a böngészőjét, és keresse fel a következő weboldalt: https://yourdomain.com
