2
0
Fork 0

Compare commits

..

No commits in common. "36d75dc50dbd32f31176c53db9a3bada0937686c" and "adbb5685a00fabc44f0f17b086299fdc5be97dc8" have entirely different histories.

5 changed files with 7 additions and 11 deletions

View File

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

3
.gitignore vendored
View File

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

View File

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

View File

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

View File

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