Commit graph

37 commits

Author SHA1 Message Date
158f1d32e9 Add non-Nix Dockerfile
Tested using:
  podman build --build-arg SITE=angestoepselt .
  podman run -p 8123:80 -e ZAMMAD_TOKEN=1 -e HCAPTCHA_SITE_KEY=1 -e HCAPTCHA_SECRET_KEY=1 <the-image-that-was-just-built>
2022-10-27 17:34:59 +02:00
029d4c48c8 Add the container as a dependency to the deployment script
This will make sure that if we do enable the runCommand hook again, the
container actually is built before.
2022-07-24 18:36:51 +02:00
6572865e61 Disable run command hook
It's not enabled on the server anyway:
https://github.com/NixOS/hydra/blob/master/doc/manual/src/plugins/RunCommand.md#security-properties
2022-07-24 18:33:05 +02:00
6550959861 Use actual timestamp build timestamp in container
This butchers reproducibility, but shouldn't actually do any harm. For
the sake of having actually useful dates in the container list, it is
probably the way to go anyway.

Closes #44
2022-07-11 08:34:57 +02:00
5ee3d9cca0 Fix production deploy derivation 2022-07-06 10:51:08 +02:00
7075280d29 Try deploying to production from Hydra 2022-07-06 10:48:07 +02:00
bcb5b6d010 Fix container health check formatting 2022-06-12 20:48:06 +02:00
564350ef34 Add access logs to container output
Closes #24
2022-06-12 20:31:35 +02:00
41c4ebd4d0 Use different Zammad groups per form 2022-06-12 17:58:10 +02:00
d7ef3f06d9 Add a Docker health check
Closes #6
2022-05-11 18:11:39 +02:00
2f3e882514 Ensure the temporary upload directory exists
Closes #25
2022-05-11 17:34:58 +02:00
e775b0571e Expose port 80 in the container 2022-04-19 17:55:34 +02:00
9bed4c43af Fix httpd.conf path in flake 2022-04-10 13:44:29 +02:00
4e1a1cdbbe Update flake for building 2022-03-22 16:46:35 +01:00
c7aefe142d Add attachment support for forms 2022-03-17 13:45:08 +01:00
5b84a20963 Fix container startup problems 2022-03-16 16:00:03 +01:00
815f8d159d Update container build
This gives the container a more sensible name and also makes sure the
correct environment variables are set for the CGI script.
2022-03-16 15:38:58 +01:00
87c5992f9f Add initial backend implementation 2022-03-16 15:24:58 +01:00
ee64ae9493 Update formatting settings and reformat the codebase 2022-03-15 09:38:13 +01:00
30bf3ec76b Update Hydra jobs 2022-03-15 09:20:07 +01:00
b3aa8c9528 Update Hydra jobs 2022-03-12 19:29:12 +01:00
f7f0a0b5ff Update Hydra jobs 2022-03-02 12:52:30 +01:00
09de5b02c5 Update Hydra jobs 2022-03-02 12:36:42 +01:00
5d66d007af Update Hydra jobs 2022-03-02 12:35:21 +01:00
1a1442324f Update Hydra jobs 2022-03-02 12:32:21 +01:00
23b3349de3 Update Hydra jobs 2022-02-28 16:58:12 +01:00
c9233f96ca Update Hydra jobs 2022-02-28 16:56:10 +01:00
c5b5d8d8f7 Add container job 2022-02-27 07:40:01 +01:00
dc6db55181 Add container build 2022-02-24 22:08:34 +01:00
c471aea5c4 Add npm-check-updates to development shell 2021-12-12 20:09:35 +01:00
a0eb7d3443 Update nix flake 2021-10-07 14:40:55 +02:00
00a0318709 Reformat flake file 2021-09-29 20:13:24 +02:00
eb7123464e Refactor directory layout 2021-09-29 19:43:59 +02:00
50600cfab3 Add npm to dev derivation 2021-09-29 19:02:17 +02:00
70b351ef75 Add production build 2021-09-28 13:06:38 +02:00
53242ef352 Add complete environment package 2021-09-27 22:49:12 +02:00
7666f261e8 Add initial Nix build setup 2021-09-27 16:07:06 +02:00