-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
first pass on lando 4 service storage
- Loading branch information
Showing
13 changed files
with
394 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: lando-mounts | ||
services: | ||
web3: | ||
api: 4 | ||
image: | ||
imagefile: nginxinc/nginx-unprivileged:1.26.1 | ||
context: | ||
- ./default-ssl.conf:/etc/nginx/conf.d/default.conf | ||
user: nginx | ||
ports: | ||
- 8080/http | ||
- 8443/https | ||
|
||
plugins: | ||
"@lando/core": "../.." | ||
"@lando/healthcheck": "../../plugins/healthcheck" | ||
"@lando/networking": "../../plugins/networking" | ||
"@lando/proxy": "../../plugins/proxy" | ||
"@lando/scanner": "../../plugins/scanner" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Mounts Example | ||
|
||
This example exists primarily to test the following documentation: | ||
|
||
* [Lando 4 Service Mounts](TBD) | ||
|
||
See the [Landofiles](https://docs.lando.dev/config/lando.html) in this directory for the exact magicks. | ||
|
||
## Start up tests | ||
|
||
```bash | ||
# Should start | ||
lando poweroff | ||
lando start | ||
``` | ||
|
||
## Verification commands | ||
|
||
Run the following commands to verify things work as expected | ||
|
||
```bash | ||
# Should create a storage volume with app scope by default | ||
skip | ||
|
||
# Should create a storage volume with global scope if specified | ||
skip | ||
|
||
# Should create host bind mounted storage if specified | ||
# @TODO: relies on TBD MOUNTING system | ||
skip | ||
|
||
# Should remove app scope storage volumes on destroy | ||
skip | ||
``` | ||
|
||
## Destroy tests | ||
|
||
```bash | ||
# Should destroy and poweroff | ||
lando destroy -y | ||
lando poweroff | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
tmp |
Oops, something went wrong.