Skip to content

Commit

Permalink
Add port mapping for Traefik service
Browse files Browse the repository at this point in the history
Configured the Traefik service to map port 1280 to 8080, facilitating access to the application. This change ensures that external requests to port 1280 are correctly directed to the service running on port 8080 within the container.
  • Loading branch information
sfmskywalker committed Dec 1, 2024
1 parent 23c7996 commit 14fbaad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions writerside/topics/Traefik.topic
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ services:
HTTP__BASEURL: http://elsa.localhost
DATABASEPROVIDER: PostgreSql
CONNECTIONSTRINGS__POSTGRESQL: Host=postgres;Port=5432;Database=elsa;Username=elsa;Password=elsa
ports:
- "1280:8080"
labels:
- "traefik.enable=true"
- "traefik.http.routers.elsa.rule=Host(`elsa.localhost`)"
Expand Down

0 comments on commit 14fbaad

Please sign in to comment.