Core concepts
Managed files
Mount small local text config files into services during deploy.
Managed files are service-level files under the service's nethera: block.
nethera.yml
services: web: image: nginx:alpine nethera: files: nginx.conf: source: ./nginx.conf target: /etc/nginx/conf.d/default.conf mode: "0644"What happens
sourceis a small local text file read by the CLI at deploy time;targetis the absolute path inside the container;- the backend stores the file with the deployment snapshot;
- the agent writes the file on the target machine;
- the generated Compose file mounts it read-only into the service.
Managed files are for small text configuration files such as nginx.conf, prometheus.yml, JSON, TOML, or YAML config.
They are not for secrets, directories, source trees, model files, SQLite databases, or large binary artifacts.
Use app secrets for sensitive values.