Skip to content

Commit

Permalink
add portfolio
Browse files Browse the repository at this point in the history
  • Loading branch information
LegitCamper committed Oct 23, 2024
1 parent 83186f0 commit a7b834d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docker/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ services:

chhoto-url:
image: sintan1729/chhoto-url:latest
restart: unless-stopped
restart: always
container_name: chhoto-url
networks:
- web
Expand All @@ -391,3 +391,12 @@ services:
- public_mode=Disable
volumes:
- chhoto:/db

portfolio:
image: registry.sawyer.services/portfolio:latest
restart: always
container_name: portfolio
networks:
- web
expose:
- 8000
10 changes: 10 additions & 0 deletions docker/traefik/dynamic.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,16 @@ certResolver = "cloudflare"
[[http.services.registry.loadBalancer.servers]]
url = "http://registry:5000"

[http.routers.portfolio]
service = "portfolio"
rule = "Host(`sawyer.services`) || Host(`portfolio.sawyer.services`)"
[http.routers.portfolio.tls]
certResolver = "cloudflare"

[http.services.portfolio.loadBalancer]
[[http.services.portfolio.loadBalancer.servers]]
url = "http://portfolio:8000"

[http.routers.searxng]
service = "searxng"
rule = "Host(`searxng.sawyer.services`) || Host(`search.sawyer.services`)"
Expand Down

0 comments on commit a7b834d

Please sign in to comment.