Skip to content

Commit 7ea0eda

Browse files
authored
Merge pull request #72 from ajnart/copilot/find-enhancements-and-bug-fixes
2 parents 9ff96c6 + f3f919e commit 7ea0eda

7 files changed

Lines changed: 686 additions & 32 deletions

File tree

.github/ISSUE_TEMPLATE/container-submission.yml

Lines changed: 41 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ body:
88
value: |
99
Thanks for taking the time to suggest a new container!
1010
11+
> **💡 Automated Process:** When your submission is tagged as "accepted" by a maintainer, a GitHub Action will automatically create a pull request to add your container to the collection!
12+
1113
> You can also contribute directly by adding the container definition to the codebase. See [CONTRIBUTING.md](https://github.com/ajnart/dcm/blob/main/CONTRIBUTING.md) for instructions.
1214
1315
- type: checkboxes
@@ -27,26 +29,32 @@ body:
2729
id: id
2830
attributes:
2931
label: Container ID
30-
description: A unique ID for the container (lowercase, no spaces)
31-
placeholder: "e.g., sonarr, postgres"
32+
description: |
33+
A unique ID for the container (lowercase, no spaces, use hyphens for multi-word names).
34+
**Examples:** `sonarr`, `postgres`, `home-assistant`
35+
placeholder: "e.g., sonarr, postgres, home-assistant"
3236
validations:
3337
required: true
3438

3539
- type: input
3640
id: name
3741
attributes:
3842
label: Display Name
39-
description: The display name of the container
40-
placeholder: "e.g., Sonarr, PostgreSQL"
43+
description: |
44+
The display name of the container as it will appear in the UI.
45+
**Examples:** `Sonarr`, `PostgreSQL`, `Home Assistant`
46+
placeholder: "e.g., Sonarr, PostgreSQL, Home Assistant"
4147
validations:
4248
required: true
4349

4450
- type: textarea
4551
id: description
4652
attributes:
4753
label: Description
48-
description: A brief description of the container's purpose
49-
placeholder: "Describe what this container does, what problem it solves, etc."
54+
description: |
55+
A clear and concise description of what this container does and its key features.
56+
**Example:** "A powerful torrent client with a web interface for remote management. Features include RSS support, automatic torrent management, and a built-in search engine."
57+
placeholder: "A powerful torrent client with a web interface for remote management. Features include RSS support, automatic torrent management, and a built-in search engine."
5058
validations:
5159
required: true
5260

@@ -73,44 +81,59 @@ body:
7381
id: tags
7482
attributes:
7583
label: Tags
76-
description: Comma-separated list of tags relevant to this container
77-
placeholder: "e.g., Streaming, Media Server, Transcoding"
84+
description: |
85+
Comma-separated list of relevant tags to help users find this container.
86+
**Examples:** `Streaming, Media Server, Transcoding` or `Database, SQL, Analytics`
87+
placeholder: "Streaming, Media Server, Transcoding"
7888
validations:
7989
required: true
8090

8191
- type: input
8292
id: githubUrl
8393
attributes:
8494
label: GitHub URL
85-
description: Link to the GitHub repository for this container
95+
description: |
96+
Link to the official GitHub repository (used to fetch star count).
97+
**Example:** `https://github.com/linuxserver/docker-sonarr`
8698
placeholder: "https://github.com/username/repository"
8799

88100
- type: input
89101
id: icon
90102
attributes:
91103
label: Icon URL
92-
description: URL to the icon for this container, preferably from dashboard-icons
104+
description: |
105+
URL to an SVG icon for this container. We recommend using dashboard-icons for consistency.
106+
**Example:** `https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/sonarr.svg`
107+
Search available icons at: https://github.com/homarr-labs/dashboard-icons
93108
placeholder: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/example.svg"
94109

95110
- type: textarea
96111
id: containerData
97112
attributes:
98113
label: Docker Compose Service Definition
99-
description: The Docker Compose YAML definition for this container
114+
description: |
115+
The Docker Compose YAML definition for this container.
116+
**Important:**
117+
- Use `${VARIABLE}` syntax for environment variables like `${PUID}`, `${PGID}`, `${TZ}`, `${CONFIG_PATH}`, `${DATA_PATH}`, `${CONTAINER_PREFIX}`, `${RESTART_POLICY}`, `${UMASK}`
118+
- Use 2 spaces for indentation at the service level, 4 spaces for properties
119+
- Include the `services:` declaration at the top
120+
- Use `${CONTAINER_PREFIX}` before container names (e.g., `${CONTAINER_PREFIX}sonarr`)
100121
placeholder: |
101122
services:
102-
container-name:
103-
container_name: container-name
104-
image: image/name:tag
105-
ports:
106-
- "port:port"
123+
my-container:
124+
image: linuxserver/my-container:latest
125+
container_name: ${CONTAINER_PREFIX}my-container
107126
environment:
108127
- PUID=${PUID}
109128
- PGID=${PGID}
110129
- TZ=${TZ}
130+
- UMASK=${UMASK}
111131
volumes:
112-
- ${CONFIG_PATH}/container-name:/config
113-
- ${DATA_PATH}/data:/data
132+
- ${CONFIG_PATH}/my-container:/config
133+
- ${DATA_PATH}/downloads:/downloads
134+
ports:
135+
- 8080:8080
136+
restart: ${RESTART_POLICY}
114137
render: yaml
115138
validations:
116139
required: true

0 commit comments

Comments
 (0)