mirror of
https://github.com/PAPAMICA/docker-compose-collection.git
synced 2026-01-18 16:27:25 +01:00
add hold (#2)
This commit is contained in:
12
.github/workflows/generate-template-json.py
vendored
12
.github/workflows/generate-template-json.py
vendored
@@ -54,12 +54,20 @@ for filename in sorted(glob.glob("composes-files/*.y*ml")):
|
||||
dataenv=line[3:-1].split(': ', 1)
|
||||
envtemp["name"] = dataenv[0]
|
||||
try:
|
||||
envdesctotal = dataenv[1].split(' (')
|
||||
envdesctotal = re.split('( [', dataenv[1])
|
||||
envdesc = envdesctotal[1]
|
||||
envhold = envdesctotal[2]
|
||||
envtemp["label"] = envdesctotal[0]
|
||||
envtemp["description"] = envdesc[:-1]
|
||||
envtemp["default"] = envhold[:-1]
|
||||
except:
|
||||
envtemp["label"] = dataenv[1]
|
||||
try:
|
||||
envdesctotal = dataenv[1].split(' (')
|
||||
envdesc = envdesctotal[1]
|
||||
envtemp["label"] = envdesctotal[0]
|
||||
envtemp["description"] = envdesc[:-1]
|
||||
except:
|
||||
envtemp["label"] = dataenv[1]
|
||||
env.append(envtemp)
|
||||
if data:
|
||||
repository = {
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
#& platform: linux
|
||||
#& logo: https://d33wubrfki0l68.cloudfront.net/62334572e03c001939ed509a2a1f1009dd9bdde3/a7ee8/assets/images/tool-icons/dillinger.png
|
||||
|
||||
#% SERVICE: Name of the service (No spaces or points)
|
||||
#% DATA_LOCATION: Data localization (Example: /apps/service)
|
||||
#% SERVICE: Name of the service (No spaces or points) [dillinger]
|
||||
#% DATA_LOCATION: Data localization (Example: /apps/service) [/_data/apps]
|
||||
#% URL: Service URL (Example: service.papamica.fr or service.com)
|
||||
#% NETWORK: Your Traefik network (Example: proxy)
|
||||
#% NETWORK: Your Traefik network (Example: proxy) [proxy]
|
||||
|
||||
# Work with Portainer
|
||||
version: "2"
|
||||
|
||||
Reference in New Issue
Block a user