アプリケーションにアクセスする
ブラウザを開いて、次のURLにアクセスしてください: 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
