访问应用程序
打开浏览器并访问: http://<SERVER_IP>
First startup may take a few minutes; a temporary Nginx 502 during this time is normal.
默认登录凭据:
- 电子邮件:
[email protected] - 密码:
sample
Please do not forget to change your email and password from the settings page.
重要路径
- 安装目录:
/opt/automatisch - Project directory:
/opt/automatisch - 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 - NGINX 配置:
/etc/nginx/sites-available/automatisch - NGINX enabled site:
/etc/nginx/sites-enabled/automatisch
Common Commands
Navigate to project:
cd /opt/automatisch
查看日志:
docker compose logs -f
重启服务:
docker compose restart
Stop / Start:
docker compose down
docker compose up -d
检查容器:
docker ps
服务
- 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
1. 将您的域名指向服务器IP地址。
2. 编辑 Nginx 配置文件并替换两处 server_name _; 使用您的域名 (<your-domain>):
vim /etc/nginx/sites-available/automatisch
3. 安装 Certbot:
apt install -y certbot python3-certbot-nginx
4. 运行以下命令以生成有效的 Let’s Encrypt 证书:
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
