Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caddy with Labels for config #18

Open
jgwehr opened this issue Oct 18, 2021 · 1 comment
Open

Caddy with Labels for config #18

jgwehr opened this issue Oct 18, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jgwehr
Copy link
Owner

jgwehr commented Oct 18, 2021

https://github.com/lucaslorentz/caddy-docker-proxy

Example: https://p1ngouin.com/posts/why-i-migrated-from-traefik-to-caddy

@jgwehr jgwehr added this to the Shareable BitWarden Prototype milestone Oct 18, 2021
@jgwehr jgwehr self-assigned this Oct 18, 2021
@jgwehr jgwehr added the enhancement New feature or request label Oct 18, 2021
@jgwehr
Copy link
Owner Author

jgwehr commented May 6, 2022

Example from Uptime Kuma docs

version: '3'
networks:
  default:  
    name: 'proxy_network'
services:
  uptime-kuma:
    image: louislam/uptime-kuma:1
    restart: unless-stopped
    volumes:  
      - /srv/uptime:/app/data
    labels:   
      caddy: status.example.org
      caddy.reverse_proxy: "* {{ '{{upstreams 3001}}'}}"
  caddy:
    image: "lucaslorentz/caddy-docker-proxy:ci-alpine"
    ports:    
      - "80:80" 
      - "443:443"
    volumes:  
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - /srv/caddy/:/data
    restart: unless-stopped
    environment:
      - CADDY_INGRESS_NETWORKS=proxy_network

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant