mirror of
https://github.com/bestnite/quadlet-migrator-skill.git
synced 2026-04-26 17:21:52 +00:00
Use neutral examples in references
This commit is contained in:
@@ -33,7 +33,7 @@ Use this file when converting `docker-compose.yml` or `compose.yaml` into Quadle
|
|||||||
- Use these rules when filling in Docker Hub references:
|
- Use these rules when filling in Docker Hub references:
|
||||||
- `redis:7` -> `docker.io/library/redis:7`
|
- `redis:7` -> `docker.io/library/redis:7`
|
||||||
- `nginx` -> `docker.io/library/nginx`
|
- `nginx` -> `docker.io/library/nginx`
|
||||||
- `langgenius/dify-api:latest` -> `docker.io/langgenius/dify-api:latest`
|
- `examplecorp/api:latest` -> `docker.io/examplecorp/api:latest`
|
||||||
- Do not guess `docker.io/library/...` for images that already include a namespace.
|
- Do not guess `docker.io/library/...` for images that already include a namespace.
|
||||||
|
|
||||||
### `services.<name>.build`
|
### `services.<name>.build`
|
||||||
|
|||||||
@@ -162,20 +162,19 @@ Recommended behavior:
|
|||||||
- ask the user only for high-impact values such as domain, storage path, or database password
|
- ask the user only for high-impact values such as domain, storage path, or database password
|
||||||
- generate a candidate `.env` or env delta with clear placeholders for the unresolved items
|
- generate a candidate `.env` or env delta with clear placeholders for the unresolved items
|
||||||
|
|
||||||
### Required variable still missing
|
### Required startup variable still missing
|
||||||
|
|
||||||
Source intent:
|
Source intent:
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
[Container]
|
[Container]
|
||||||
EnvironmentFile=/home/nite/pod/dify/dify.env
|
EnvironmentFile=/home/nite/pod/myapp/myapp.env
|
||||||
Environment=POSTGRES_USER=postgres
|
Environment=APP_ENV=production
|
||||||
Environment=POSTGRES_DB=dify
|
Environment=APP_PORT=8080
|
||||||
Environment=PGDATA=/var/lib/postgresql/data/pgdata
|
|
||||||
```
|
```
|
||||||
|
|
||||||
If `dify.env` does not contain `POSTGRES_PASSWORD`, do not treat this as runnable output.
|
If `myapp.env` does not contain `APP_SECRET`, do not treat this as runnable output.
|
||||||
Report `POSTGRES_PASSWORD` as unresolved and stop before final runnable generation.
|
Report `APP_SECRET` as unresolved and stop before final runnable generation.
|
||||||
|
|
||||||
## Output patterns
|
## Output patterns
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user