Skip to content

Commit

Permalink
feat(prod): add cloudflared service to production deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
myyxl committed Jun 6, 2024
1 parent cd1ca29 commit 2c04195
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/development/stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,9 @@ services:
- node.role == manager
image: traefik:v3.0.1
ports:
- mode: host
- mode: host #DARGSTACK-REMOVE
protocol: tcp
published: 80
published: 80 #DARGSTACK-REMOVE
target: 80
- mode: host #DARGSTACK-REMOVE
protocol: tcp #DARGSTACK-REMOVE
Expand Down
5 changes: 5 additions & 0 deletions src/production/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ services:
labels:
- (( append ))
- traefik.http.routers.adminer_secure.tls.certresolver=default
cloudflared:
environment:
TUNNEL_TOKEN: token
image: cloudflare/cloudflared
restart: unless-stopped
grafana:
deploy:
labels:
Expand Down

0 comments on commit 2c04195

Please sign in to comment.