const express = require('express'); const app = express(); const PORT = process.env.PORT || 3000; app.get('/', (req, res) => { res.json({ app: 'app-template', status: 'ok' }); }); // Dokploy/Traefikのヘルスチェックが叩くエンドポイント app.get('/health', (req, res) => { res.status(200).json({ status: 'healthy' }); }); app.listen(PORT, () => { console.log(`app-template listening on port ${PORT}`); });