From 6f405778b3721fd303e8708fbf347e965d9c6daf Mon Sep 17 00:00:00 2001 From: Second Agent <123514301+second-agent[bot]@users.noreply.github.com> Date: Fri, 28 Jun 2024 13:10:19 +0000 Subject: [PATCH] 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 --- example/traefik/compose.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 example/traefik/compose.yml diff --git a/example/traefik/compose.yml b/example/traefik/compose.yml new file mode 100644 index 0000000..8d5480c --- /dev/null +++ b/example/traefik/compose.yml @@ -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}`); +});