Skip to content

Commit

Permalink
traefik
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofeng1227 committed Dec 29, 2023
1 parent 711fda0 commit 52da4ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions apps/traefik/.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ W9_ID=traefik

W9_REPO=traefik
#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
W9_WEB_PORT=80
W9_WEB_PORT_SET=80
W9_DASHBOARD_PORT=8080
W9_DASHBOARD_PORT_SET=8080
W9_HTTP_PORT=8080
W9_HTTP_PORT_SET=8080

W9_NETWORK=websoft9
W9_URL_REPLACE=false
Expand Down
5 changes: 2 additions & 3 deletions apps/traefik/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
# image: https://hub.docker.com/_/traefik
# docs: https://doc.traefik.io/traefik/providers/docker/


version: '3.8'

services:
traefik:
image: ${W9_REPO}:${W9_VERSION}
container_name: ${W9_ID}
ports:
- '${W9_WEB_PORT_SET}:${W9_WEB_PORT}'
- '${W9_DASHBOARD_PORT_SET}:${W9_DASHBOARD_PORT}'
- ${W9_WEB_PORT_SET}:80
- ${W9_HTTP_PORT_SET}:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- $PWD/src/traefik.yml:/etc/traefik/traefik.yml
Expand Down

0 comments on commit 52da4ef

Please sign in to comment.