Få adgang til applikationen
Åbn din browser og gå til: http://<SERVER_IP>
First startup may take a few minutes; a temporary Nginx 502 during this time is normal.
Standard loginoplysninger:
- E-mail:
[email protected] - Adgangskode:
sample
Please do not forget to change your email and password from the settings page.
Vigtige stier
- Installationsmappe:
/opt/automatisch - Project directory:
/opt/automatisch - Docker Compose-fil:
/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-konfiguration:
/etc/nginx/sites-available/automatisch - NGINX enabled site:
/etc/nginx/sites-enabled/automatisch
Common Commands
Navigate to project:
cd /opt/automatisch
Se logfiler:
docker compose logs -f
Genstart tjenester:
docker compose restart
Stop / Start:
docker compose down
docker compose up -d
Kontroller containere:
docker ps
Tjenester
- 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)
Aktivering af SSL med et domæne
1. Peg dit domæne mod serverens IP-adresse.
2. Rediger Nginx-konfigurationen og udskift begge dele server_name _; med dit domæne (<your-domain>):
vim /etc/nginx/sites-available/automatisch
3. Installer Certbot:
apt install -y certbot python3-certbot-nginx
4. Kør følgende kommando for at generere et gyldigt Let’s Encrypt-certifikat:
certbot --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com
5. Restart Nginx to apply the changes:
systemctl restart nginx
6. Open your browser and visit: https://yourdomain.com
