Skip to content

Commit

Permalink
Merge pull request #264 from getodk/release
Browse files Browse the repository at this point in the history
Release v1.4
  • Loading branch information
matthew-white authored Mar 2, 2022
2 parents 24ee74e + b358a52 commit 1e90515
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion client
Submodule client updated 200 files
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ services:
options:
max-file: "30"
pyxform:
image: 'ghcr.io/getodk/pyxform-http:v1.7.0'
image: 'ghcr.io/getodk/pyxform-http:v1.8.0'
restart: always
secrets:
volumes:
Expand Down
6 changes: 1 addition & 5 deletions enketo.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/enketo/enketo-express:3.0.4
FROM ghcr.io/enketo/enketo-express:3.1.0

ENV ENKETO_SRC_DIR=/srv/src/enketo_express
WORKDIR ${ENKETO_SRC_DIR}
Expand All @@ -16,10 +16,6 @@ COPY files/enketo/start-enketo.sh ${ENKETO_SRC_DIR}/start-enketo.sh

RUN apt-get update; apt-get install gettext-base

RUN npm install
RUN grunt
RUN npm prune --production

EXPOSE 8005

CMD ./start-enketo.sh
1 change: 1 addition & 0 deletions files/service/crontab
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
0 4 * * * root /usr/odk/purge-forms.sh
0 3 * * * root /usr/odk/run-analytics.sh
0 2 * * * root /usr/odk/run-backup.sh
0 1 * * 0 root /usr/odk/reap-sessions.sh
5 changes: 5 additions & 0 deletions files/service/scripts/purge-forms.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

cd /usr/odk
/usr/local/bin/node lib/bin/purge-forms.js >/proc/1/fd/1 2>/proc/1/fd/2

2 changes: 1 addition & 1 deletion server
Submodule server updated 272 files

0 comments on commit 1e90515

Please sign in to comment.