changement architecture

This commit is contained in:
PAPAMICA
2022-05-11 14:08:27 +02:00
parent 86baf9a6a4
commit 5f10d4e224
38 changed files with 3 additions and 17 deletions

View File

@@ -5,9 +5,9 @@ import re
import json
from textwrap import indent
GITHUB_REPOSITORY_URL = 'https://github.com/PAPAMICA/docker-compose-collection'
GITHUB_REPOSITORY_URL = 'https://github.com/PAPAMICA/docker-compose-collection/composes-files'
try:
os.remove("./templates-portainer.json")
os.remove("../../../templates-portainer.json")
except:
print ("file don't exist")
result = {}
@@ -65,7 +65,7 @@ for filename in sorted(glob.glob("*.y*ml")):
try:
result["templates"] = templates
json_data = json.dumps(result, indent=4)
with open('templates-portainer.json', 'w') as outfile:
with open('../../../templates-portainer.json', 'w') as outfile:
outfile.write(json_data)
print ("\n ✅ File generated !")
except:

14
env
View File

@@ -1,14 +0,0 @@
SERVICE=
DATA_LOCATION=
DATA=
URL_LOKI=
NDD=
URL=
DB_USER=
DB_PASSWORD=
DB_ROOT=
DATA=
ADMIN_USERNAME=
ADMIN_PASSWORD=
ADMIN_EMAIL=