mirror of
https://github.com/kou029w/_.git
synced 2025-01-31 06:18:07 +00:00
create_file_with_ai
# Path: step_1/for_each/if_else/if/create_file_with_ai # UUID: 48fc1120-316c-4299-85d0-842c98b61a66 # Changed files: example/traefik/compose.yml
This commit is contained in:
parent
07f7302115
commit
6f405778b3
1 changed files with 16 additions and 0 deletions
16
example/traefik/compose.yml
Normal file
16
example/traefik/compose.yml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
// 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}`);
|
||||||
|
});
|
Loading…
Add table
Reference in a new issue