fix linting (again)
This commit is contained in:
parent
a9bd241663
commit
7d44729c6e
@ -1,5 +1,6 @@
|
||||
FROM python:3.8-alpine
|
||||
RUN mkdir -p /{app,config}
|
||||
RUN mkdir /app
|
||||
RUN mkdir /config
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
CMD ["python", "app.py"]
|
||||
|
@ -5,7 +5,7 @@ import time
|
||||
with open('/config/servers.json', 'w') as f:
|
||||
print("created " + f.name)
|
||||
template_string = ('{"Servers": {"1": {"Name": "DavinciResolve", '
|
||||
'"Group": "Servers", "Port": 5432, "Username": ''
|
||||
'"Group": "Servers", "Port": 5432, "Username": '
|
||||
'"postgres", "Host": "postgres", "SSLMode": "prefer", "MaintenanceDB": "postgres"}}}'
|
||||
)
|
||||
data = json.loads(template_string)
|
||||
|
Loading…
Reference in New Issue
Block a user