This repository is a starter for a Git-backed Wodby stack. Wodby imports
stack.yml from the selected Git ref and creates a new stack revision every
time you import or update it from Git.
The included manifest defines a small stack with one required nginx service. Use it as a working baseline, then replace the service references and overrides with the services your stack should manage.
stack.yml- the Wodby stack manifest.
- Change
name,title, andiconinstack.yml. - Replace
services[].servicewith the Wodby service name or versioned service reference you want to include, for examplephporphp:8.3. - Keep
services[].nameas the stack-local service name. It does not have to match the referenced service name. - Use
services[].linksto satisfy required links declared by service manifests. - Use
services[].workloads,services[].env,services[].volumes,services[].configs, andservices[].helmonly for stack-level overrides.
If you use this with the companion service template, import the service first
and then change the stack service reference to example-service:1.0.
A repository can contain multiple stacks. Put each stack in its own directory
and add an index.yml at the repository root:
stacks:
- api
- workerEach listed directory must contain its own stack.yml.
- Stack template reference: https://wodby.com/docs/2.0/stacks/template/
- Stack services: https://wodby.com/docs/2.0/stacks/services/
- Naming rules: https://wodby.com/docs/2.0/naming/