2
0
Fork 0

Compare commits

..

4 Commits

Author SHA1 Message Date
Luca 36d75dc50d fix(settings): env var spelling
continuous-integration/drone/push Build is passing Details
2024-05-04 00:27:28 +02:00
Luca 71fc7ed07e chore: ignore *.bkp files 2024-05-04 00:27:02 +02:00
Luca 468f68c2cb build: extend .dockerignore 2024-05-04 00:26:23 +02:00
Luca 3e75b76ac9 chore(Dockerfile*): update base image version 2024-05-04 00:16:25 +02:00
5 changed files with 11 additions and 7 deletions

View File

@ -1,10 +1,15 @@
**/__pycache__
*.bkp
.dockerignore
.drone.yml
.editorconfig
.git*
.idea
Dockerfile
Dockerfile-dev
README.md
db.sqlite3
docker-compose.yml
env
setup.cfg
storage

3
.gitignore vendored
View File

@ -158,3 +158,6 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
# E.g. copies of old dev database
*.bkp

View File

@ -1,6 +1,4 @@
FROM python:3.10-alpine3.17
RUN apk add --no-cache git
FROM python:3.12-alpine3.19
RUN adduser -h /opt/shiftregister -D shiftregister

View File

@ -1,6 +1,4 @@
FROM python:3.10-alpine3.17
RUN apk add --no-cache git
FROM python:3.12-alpine3.19
RUN adduser -h /home/shiftregister -D shiftregister

View File

@ -176,7 +176,7 @@ CELERY_BEAT_SCHEDULE = {
},
"deactivate-fallbacks-every-300-seconds": {
"task": "shiftregister.fallback.tasks.deactivate_fallbacks",
"schedule": float(getenv("FALLBACK_DEACTIVAtE_INTERVAL", 300.0)), # seconds
"schedule": float(getenv("FALLBACK_DEACTIVATE_INTERVAL", 300.0)), # seconds
},
}