89 Commits

Author SHA1 Message Date
Robert Schäfer
628b57aa29
feat(other): major improvement of deployment (#7925)
* feat(other): major improvement of deployment

Motivation
----------

Kubernetes:
* backend becomes a statefulset (exclusive volume mount)
  See: https://spacelift.io/blog/statefulset-vs-deployment
* implement neo4j backup with job

Docker:
* consistent targets across all dockerfiles
* remove redundant labels
* remove unnecessary build args
* remove obsolete networks
* remove development dependencies for production

Rebranding:
* add image tags for local tagging and pulling
* use Github's docker build workflows
* use Github container registry
* ONBUILD to simplify caller Dockerfiles
* docker compose for branding

Tooling:
* same node --version as in dockerfile

Docs:
* missing step in README.md

* refactor: remove submodules

It's better to keep them all in a separate repository

* improve kubernetes chart

* better image tag defaults
* split neo4j into its own chart (for re-use)
* use application defaults where possible

* optional resources for all pods

* remove obsolete key/value pair from secrets

* remove obsolete build argsand

and add labels for neo4j enterprise

* env vars for webapp

* allow to define redirect domains

Define a list of Domains that redirect to the domain of the project. The
idea is to provide the ability to redirect eg. www.domain.tld to
domain.tld

* remove maintenance part regarding database

* move backup job outside template folder

* name the ingress

* updated ingress

* handle empty case of middlewares

* try to default the ingress

* use quote

* restore todo-next-update

* fix docu check

* fix naming

* try using prod:migrate

* try using override config

* copy src folder

* try using base as image instead of build

* fix test build

* force build

* comment for the problem

* fix webapp tests (potentially)

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-02-28 18:22:23 +01:00
Wolfgang Huß
374fd25793 Fix mark down links to pass linting 2024-09-18 09:36:39 +02:00
Wolfgang Huß
5bc5ae68a8 Adjust docs for deployment, DigitalOcean, and neo4j cypher commands 2024-09-18 09:25:33 +02:00
Wolfgang Huß
1a2c7abfe8 Fix warning because of lower case 'as' instead of uppercase 'AS' in dockerfiles 2024-08-29 16:19:19 +02:00
Wolfgang Huß
a70320688d Add new Neo4j env 'DBMS_DEFAULT_DATABASE' to 'TODO-next-update.md' and other files 2024-01-18 13:23:07 +01:00
Wolfgang Huß
9a041c5309 Add hint to readme's 2023-12-12 17:21:06 +01:00
Wolfgang Huß
0b8407ccff Remove '--database=neo4j' and '--expand-commands' from all the database commands 2023-12-12 16:13:46 +01:00
Wolfgang Huß
c931c27a10 Add description option '--database=<name>' to dumping or loading database 2023-12-12 15:52:34 +01:00
Wolfgang Huß
e4fabc47a0 Add 'Database Management Commands' to Neo4j readme
- Fix of some headings and designations.
2023-12-12 15:46:24 +01:00
Wolfgang Huß
b95b036265 Change database name from 'graph.db' to 'neo4j' 2023-11-30 08:05:45 +01:00
Wolfgang Huß
ce589f5983 Add in docs the description of how to create a dump in a Docker container 2023-10-10 12:01:58 +02:00
Wolfgang Huß
5d2c41d12e Fix Dockerfile labels 2023-10-02 13:14:55 +02:00
Wolfgang Huß
fa808684bf Add a description for the usage to the Neo4j readme 2023-09-26 14:48:31 +02:00
09dcd1d5a7
update neo4j docker file 2023-05-15 23:55:16 +02:00
Hannes Heine
5e5c1fef04
Update neo4j/README.md
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2023-03-08 09:34:35 +01:00
Hannes Heine
9f2211d7d1
Update neo4j/README.md
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2023-03-08 09:34:25 +01:00
Hannes Heine
9162ae1192
Update neo4j/README.md
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2023-03-08 09:34:14 +01:00
Hannes Heine
5460a81217
Update neo4j/README.md
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2023-03-08 09:34:01 +01:00
Hannes Heine
0ae1e47076
Update neo4j/README.md
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2023-03-08 09:33:24 +01:00
Hannes Heine
b9a5de277e
Update neo4j/README.md
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2023-03-08 09:32:48 +01:00
Hannes Heine
a24bca7d70
Update neo4j/README.md
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2023-03-08 09:32:39 +01:00
Hannes Heine
0c6fd23f8a
Update neo4j/README.md
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2023-03-08 09:32:31 +01:00
Hannes Heine
3c7d4df8ba
Update neo4j/README.md
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2023-03-08 09:32:20 +01:00
elweyn
fb353b8a68 Change README.md 2023-02-28 13:05:13 +01:00
Wolfgang Huß
99bea1d835 Set amd64 image for Neo4j 2023-02-23 13:56:24 +01:00
Wolfgang Huß
a6b76d72db Fix spellings in readme's and comment 2023-01-04 15:01:51 +01:00
Wolfgang Huß
0487a280a3 Refine description and add calls of 'prod:migrate init' and single index drop example 2022-07-19 17:46:07 +02:00
Wolfgang Huß
a1a8529c9c Add Neo4j docu for important commands 2022-07-19 15:15:33 +02:00
79beb840c5
-separate commands in two, docker build & save to allow multi-line commands
-have arg and env variables
2021-04-17 13:15:45 +02:00
d354f9630a
Use build args instead of envs for the version, date & commit 2021-04-17 12:44:01 +02:00
6110557abf
fixed versions to follow SemVer 2.0 style (https://semver.org/spec/v2.0.0.html) 2021-02-25 20:48:20 +01:00
737c5fc53a
updated docker files - removed todo
remove `docker_push.sh` script
2021-02-08 20:54:26 +01:00
0715310089
- refactor neo4j dockerfile
- support build stages community & enterprise
2021-01-19 23:18:52 +01:00
Moriz Wahl
e47671c52a further changed requested by Tirokk 2020-11-24 19:10:46 +01:00
Moriz Wahl
16cdcc921e further changes 2020-11-23 13:44:16 +01:00
roschaefer
a741721295 Remove labels from Dockerfiles
Version was out of date anyways
2020-06-05 11:19:57 +02:00
mattwr18
f3784c5f50 Create .archived directory for older migrations 2020-01-23 15:04:38 +01:00
roschaefer
ce664040c6 docs(backend): How to create & run data migrations 2020-01-20 11:00:52 +01:00
roschaefer
c0e2675912 refactor(neo4j) Setup constraints with neode 2020-01-20 10:58:33 +01:00
mattwr18
1f06a862e7
Merge pull request #2262 from Human-Connection/1463-search-for-users
🍰 Search For Users
2020-01-10 13:59:44 +01:00
dependabot-preview[bot]
06277c89b8
build(deps): bump neo4j in /neo4j
Bumps neo4j from 3.5.13-enterprise to 3.5.14-enterprise.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-24 04:23:23 +00:00
mattwr18
3ef04f8391 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1463-search-for-users 2019-12-19 17:16:48 +01:00
mattwr18
e002ed0b49 Add back layout changes/update db_manipulation
- we had removed these changes till we could deploy them by themselves
and run the db_manipulation

Co-authored-by: Alina Beck <alina.beck@mail.com>
2019-12-18 15:39:42 +01:00
Moriz Wahl
77cdc34bfd backend still not working 2019-12-10 10:36:08 +01:00
mattwr18
4d0df181b6
Merge pull request #2432 from Human-Connection/remove-query-for-disable-property-for-reports
Remove disable from reports.disable Query
2019-12-05 21:14:55 +01:00
mattwr18
b82e6f4d81 Move db script to neo4j/db_manipulation directory 2019-12-05 19:57:53 +01:00
mattwr18
517963174b We are not setting disable on Report node
- we are adding the report rule which says that if a resource was
disabled by a report with this rule, then the latest review was the one
that disabled it.
- fix db script/ add new directory for keeping record of db scripts
2019-12-05 19:52:05 +01:00
mattwr18
42540eb909 Remove dead code, code creep 2019-12-04 19:55:48 +01:00
mattwr18
085b59bf4d Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation 2019-12-04 13:23:06 +01:00
mattwr18
e4aba5d4df Add test case/Fix message
- Test that the rule is automatically created for new reviews
- Improve English message
2019-12-02 13:56:44 +01:00