generated from kelin/Compose-Template
Update README.md
This commit is contained in:
21
README.md
21
README.md
@@ -32,3 +32,24 @@
|
|||||||
|
|
||||||
2. Or Paste the contents of remote-backrest.yml into an existing remote host yml file.
|
2. Or Paste the contents of remote-backrest.yml into an existing remote host yml file.
|
||||||
|
|
||||||
|
|
||||||
|
## Remote Host yml files must use this format:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
http:
|
||||||
|
routers:
|
||||||
|
# Each service gets a route definition here
|
||||||
|
|
||||||
|
services:
|
||||||
|
# Each service gets a service definition here
|
||||||
|
```
|
||||||
|
|
||||||
|
**To copy an example remote host yml file into an existing remote host yml file**
|
||||||
|
|
||||||
|
1. Copy the contents of the routers section into the existing routers section
|
||||||
|
Be sure to change the `rule: "Host ('service.server.subdomain.duckdns.org')"` line to your desired url for the service
|
||||||
|
|
||||||
|
2. And Copy the content of the services section into the existing services section
|
||||||
|
Be sure to change the ip:port in `- url: "http://ip:port"`
|
||||||
|
Use http here, not https
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user