Skip to content

Commit bf9a7e7

Browse files
committed
change kamal docs to match template
1 parent a37e76f commit bf9a7e7

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

MyApp/_pages/releases/v8_05.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -401,29 +401,41 @@ One of the big benefits of Kamal is the focus on ergonomics and the really well
401401
x new blazor-vue MyApp
402402
:::
403403

404-
Update the `config/deploy.yml` with the following details
404+
Update the `config/deploy.yml` with the following details:
405405

406406
### GitHub Container Registry Image
407407

408408
```yml
409-
# Name of the container image.
410-
image: github-org/repository-name # Or, your-user/repository-name
409+
# Name of the container image
410+
image: my-user/myapp
411411
```
412412
413413
### Server Web
414414
415+
Configure with your Linux Host IP Address:
416+
415417
```yml
416418
servers:
419+
# IP address of server, optionally use env variable
417420
web:
418-
- 123.123.123.123 # Your Linux Host IP Address
421+
- 123.123.123.123
422+
```
423+
424+
Alternatively, you can use an environment variable for the server IP address, e.g:
425+
426+
```yml
427+
web:
428+
- <%= ENV['KAMAL_DEPLOY_IP'] %>
419429
```
420430
421431
### Proxy Host
422432
433+
Configure with your domain pointing to the same IP as your host:
434+
423435
```yml
424436
proxy:
425437
ssl: true
426-
host: myapp.example.com # Your domain pointing to the same IP as your host
438+
host: myapp.example.com
427439
```
428440
429441
### Health Checks

0 commit comments

Comments
 (0)