https://github.com/peterj/dagger-modules
Collection of my Dagger modules
https://github.com/peterj/dagger-modules
dagger daggerverse
Last synced: 3 months ago
JSON representation
Collection of my Dagger modules
- Host: GitHub
- URL: https://github.com/peterj/dagger-modules
- Owner: peterj
- Created: 2024-05-15T18:56:46.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-17T00:56:52.000Z (8 months ago)
- Last Synced: 2025-01-25T04:43:24.352Z (4 months ago)
- Topics: dagger, daggerverse
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My collection of Dagger modules
## Fly.io Module
This module enables you to do the following:
- deploy an application to Fly.io
### Usage
To deploy an application to Fly.io, run the following command:
```bash
dagger call deploy --src [source-folder] --token=env:FLYIO_TOKEN
```Note that the token can come from an environment variable or a file as well. Make sure you set that before running the deploy command.
## Envoy Proxy Module
This module enables you to do the following:
- run an instance of Envoy proxy using the provided configuration
- validate the Envoy configuration file### Usage
To run an instance of Envoy proxy and expose the ports on the host, run the following command:
```bash
dagger call envoy-proxy-service --config $PWD/examples/httpbin-sample.yaml --ports 10000 --ports 9901 up
```To validate the Envoy configuration file, run the following command:
```bash
dagger call validate-config --config $PWD/examples/httpbin-sample.yaml
``````console
configuration '/etc/envoy/envoy.yaml' OK
```