https://github.com/claudioaltamura/traefik-proxy-nodejs-example
A Traefik proxy example with Node.js and Express.js
https://github.com/claudioaltamura/traefik-proxy-nodejs-example
expressjs nodejs traefik-docker traefik-proxy travis-ci
Last synced: 3 months ago
JSON representation
A Traefik proxy example with Node.js and Express.js
- Host: GitHub
- URL: https://github.com/claudioaltamura/traefik-proxy-nodejs-example
- Owner: claudioaltamura
- License: mit
- Created: 2023-05-04T16:19:16.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-05T10:50:00.000Z (about 3 years ago)
- Last Synced: 2025-10-25T20:45:20.753Z (9 months ago)
- Topics: expressjs, nodejs, traefik-docker, traefik-proxy, travis-ci
- Language: Dockerfile
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://opensource.org/licenses/MIT)
# traefik-proxy-nodejs-example
A Traefik proxy example with Node.js and Express.js
# Run server
npm start
# Build container image
docker build . -t node-web-app:1.0.0 -t node-web-app:latest
docker images | grep node-web-app
# Run just the image
docker run -e APP_NAME=APP_A -p 13000:3000 -d node-web-app
docker ps
docker logs
curl -i localhost:13000
# Stop image
docker stop
# Run docker-compose
reverse-proxy
docker-compose up -d reverse-proxy
app_a
docker-compose up -d app_a
# Stop docker-compose
docker-compose down -v
# app_a
curl -i http://app_a.localhost