Skip to content

Commit

Permalink
docs: example of using Mercure with Traefik
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Jul 29, 2023
1 parent e27e613 commit 04d4375
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions docs/hub/install.md
@@ -1,4 +1,4 @@
# Install the Mercure.rocks hub
# Install the Mercure.rocks Hub

## Managed and HA Versions

Expand Down Expand Up @@ -114,10 +114,10 @@ If you prefer to use `docker-compose` to run the Mercure.rocks hub, here's a sam

```yaml
# docker-compose.yml
version: "3.7"
version: '3'

services:
caddy:
mercure:
image: dunglas/mercure
restart: unless-stopped
environment:
Expand All @@ -128,17 +128,19 @@ services:
# Uncomment the following line to enable the development mode
#command: /usr/bin/caddy run --config /etc/caddy/Caddyfile.dev
ports:
- "80:80"
- "443:443"
- '80:80'
- '443:443'
volumes:
- caddy_data:/data
- caddy_config:/config
- mercure_data:/data
- mercure_config:/config

volumes:
caddy_data:
caddy_config:
mercure_data:
mercure_config:
```

Alternatively, you may want to [run the Mercure.rocks hub behind Traefik Proxy](traefik.md).

## Arch Linux

Mercure.rocks is available [on the AUR](https://aur.archlinux.org/packages/mercure), you can install it with your favorite AUR wrapper:
Expand Down

0 comments on commit 04d4375

Please sign in to comment.