1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-31 14:28:04 +00:00
_/example/traefik/compose.ts
Second Agent 5b16aedf27 change_file_extension
# Path: step_1/for_each/if_else/if/change_file_extension
# UUID: 2280548e-95c8-47c4-b2f9-bf9de14b45f1

# Changed files:
example/traefik/compose.ts
- 6f405778b3
2024-06-28 13:10:21 +00:00

16 lines
361 B
TypeScript

// traefik-compose.ts
import * as express from 'express';
import * as http from 'http';
const app = express();
const server = http.createServer(app);
app.get('/', (req, res) => {
res.send('Hello from Traefik Compose Example!');
});
const PORT = process.env.PORT || 3000;
server.listen(PORT, () => {
console.log(`Server is running on port ${PORT}`);
});