74 Commits

Author SHA1 Message Date
b06b29b858
feat(webapp): bind local styleguide & fix maintenance page (#8933) 2025-09-30 14:54:43 +02:00
9bc327e675
remove frontend and all related services, scripts and code (#8860) 2025-09-05 16:30:08 +02:00
Robert Schäfer
432ae4a906
refactor(backend): silence neo4j-graphql-js (#8751)
Except if you enable it with:
```
DEBUG=neo4j-graphql-js
```
.. in your `backend/.env`
2025-07-07 14:40:55 +00:00
mahula
3730be6414
refactor(docker): neo4j image naming inconsistency in docker compose files (#8736)
* refactor neo4j image naming inconsistency in docker compose files

* add explicit building of neo4j image to backend preparation e2e test

* fix build target neo4j building job

* fix build target for neo4j building job

* fix naming inconsistenca in backend workflow jobs

* refactor docker compose commands in backend test workflow

* rename custom neo4j docker images according to their naming standards

* rename custom neo4j docker images according to their naming standards
2025-06-30 11:14:21 +02:00
Robert Schäfer
d6a8de478b
feat(backend): migrate to s3 (#8545)
## 🍰 Pullrequest
This will migrate our assets to an objectstorage via S3.

Before this PR is rolled out, the S3 credentials need to be configured in the respective infrastructure repository. The migration is implemented in a backend migration, i.e. I expect the `initContainer` to take a little longer but I hope then it's going to be fine. If any errors occcur, the migration should be repeatable, since the disk volume is still there.

### Issues
The backend having direct access on disk.

### Todo
- [ ] Configure backend environment variables in every infrastructure repo
- [ ] Remove kubernetes uploads volume in a future PR

Commits:

* refactor: follow @ulfgebhardt
  Here: https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/8545#pullrequestreview-2846163417
  I don't know why the PR didn't include these changes already, I believe I made a mistake during rebase and lost the relevant commits.
* refactor: use typescript assertions
  I found it a better way to react to this comment: https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/8545/files#r2092766596
* add S3 credentials
* refactor: easier to remember credentials
  It's for local development only
* give init container necessary file access
* fix: wrong upload location on production
* refactor: follow @ulfgebhardt's review
  See: https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/8545#pullrequestreview-2881626504
2025-06-01 09:53:31 +00:00
Robert Schäfer
4e9dbf4c98
fix(docu): remove required but missing frontend/.env (#8431)
When you follow the documentation, your `docker compose up` will fail
because a `.env` file is referenced that doesn't exist yet. The
documentation mentions a `.env.template` file, so I guess that one was
deleted but the documentation not updated.
2025-04-25 13:38:49 +00:00
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ß
15bb2d24bf Fix warnings by removing 'version' from all Docker Compose YAMLs 2024-08-29 16:35:26 +02:00
75a6528526
docker configuration for frontend 2024-01-28 13:17:11 +01:00
Wolfgang Huß
f4e71a1dbb Add 'NEO4J_dbms_default__database' Neo4j setting to 'ConfigMap.yml' and Docker Compose files 2023-12-20 09:39:44 +01:00
Wolfgang Huß
64ac68bd01 Add 'NEO4J_dbms_default__database' to 'docker-compose.yml' as commented example 2023-12-12 15:43:47 +01:00
Wolfgang Huß
788e08d03e Adjust docker-compose.yml in main folder by a comment 2023-10-10 12:01:06 +02:00
Wolfgang Huß
232922d41e Add tail command as template comment to 'docker-compose.yml' 2023-09-26 14:30:30 +02:00
eb6825b6e6
remove listen address 7474 from docker since its default value 2023-06-16 15:14:27 +02:00
168aed6233
migrate kubernetes cluster(untested) 2023-05-16 00:15:41 +02:00
a9b06e6779
allow migration of neo4j database in docker 2023-05-15 23:55:38 +02:00
8ca2ee65df
define container names explicitly 2023-02-23 17:25:03 +01:00
Wolfgang Huß
cc62d9e0a3 Switch in Docker Compose files Neo4j and maintenance 2022-07-18 19:08:03 +02:00
Wolfgang Huß
9143eb7143 Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 5072-remove-image-entries-in-docker-compose-files-fix-m1
# Conflicts:
#	DOCKER_MORE_CLOSELY.md
#	docker-compose.override.yml
#	docker-compose.test.yml
#	docker-compose.yml
2022-07-18 19:01:58 +02:00
Wolfgang Huß
2bc09aceeb Rename Neo4j Docker in general image to 'neo4j-community:*' 2022-07-18 07:11:35 +02:00
Wolfgang Huß
bc97b1db0c Add comments for Docker image naming 2022-07-18 06:42:14 +02:00
Wolfgang Huß
f5c4cd7701 Replace in docker compose 'ocelotsocialnetwork/*:latest' by 'ocelotsocialnetwork/*:local-production' 2022-07-15 09:29:59 +02:00
Wolfgang Huß
0fef1bbd60 Change Docker compose 'maintenance' port from '5000' to '3001'
- Because port '5000' has a standard use on macOS, it is said.
2022-07-13 10:49:21 +02:00
Wolfgang Huß
04cd391a39 Remove image entries in 'docker-compose.yml' and 'docker-compose.override.yml' 2022-07-13 10:02:18 +02:00
Wolfgang Huß
a0a2fb43ab Prettify some formating 2021-05-30 20:52:16 +02:00
5503216ad4
- first steps towards docker image deployment & github autotagging 2021-02-08 15:43:09 +01:00
c3147bbd4a
Update docker-compose.yml
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2021-01-22 14:19:23 +01:00
cbf799d265
- build community edition of neo4j 2021-01-19 23:18:52 +01:00
b25af045db
- include maintenance in production environment 2021-01-19 23:18:52 +01:00
7cc003602f
- docker-compose definition order 2021-01-19 23:18:52 +01:00
2518e38582
- webapp Dockerfile
- cleanup backend Dockerfile
- docker-compose cleanup
- docker-compose networks
- docker-compose for production, docker-compose.override for development
- security
- todos
2021-01-19 23:18:52 +01:00
269e38b56e
backend dockerfile and compose seem to be pretty solid now 2021-01-19 23:18:52 +01:00
0523c88bb8
- fixed docker compose for backend
- changed backend port to 4000
- removed volume from development build stage
2021-01-19 23:18:52 +01:00
Wolfgang Huß
2495f4fa72 Fixed live reload of Nuxt for docker-compose
- If code was changed by the developer in backend and webapp live reload was not executed.
2021-01-18 15:53:08 +01:00
Wolfgang Huß
35e9404e8c Correct docker-compose.yml 2021-01-07 15:33:26 +01:00
Moriz Wahl
af54ec3704 further changes requested by Tirokk 2020-12-01 10:46:41 +01:00
Mogge
75658a2f32
Merge branch 'master' into white-labeling 2020-11-23 13:35:40 +01:00
Moriz Wahl
78f9e20356 define volumes 2020-11-16 09:56:13 +01:00
Moriz Wahl
ecb0bb3766 Starting rebranding to ocelot.social 2020-11-10 12:08:44 +01:00
Moriz Wahl
bd962bbfcc merging rebranding branch from / 2020-11-10 10:28:20 +01:00
Moriz Wahl
5fc24a3751 merged conflicts 2020-11-10 09:38:45 +01:00
ogerly
f498ba8c65 fix: new mapbox token 2020-11-05 15:38:13 +01:00
Wolfgang Huß
a1e4a5bf5f Change docker repository to develop-neo4j
- neo4j  —>  develop-neo4j
2020-10-29 10:39:09 +01:00
Wolfgang Huß
13c70903e1 Change docker repository to develop-backend
- nitro-backend  —>  develop-backend
2020-10-28 10:59:36 +01:00
Wolfgang Huß
b6c8acab36 Change docker repository to develop-webapp
- nitro-web  —>  develop-webapp
2020-10-28 10:52:07 +01:00
Wolfgang Huß
360f545fb7 Change docker account
- humanconnection  —>  ocelotsocialnetwork
2020-10-28 10:36:14 +01:00
roschaefer
dd09dfa721 Replace welcome image in email templates 2020-06-15 14:54:03 +02:00
roschaefer
16c7be1cc4 Parameterize emails in backend 2020-06-05 16:49:32 +02:00
roschaefer
2c4c9ab8b0 feat: Avoid new builds on base docker-compose.yml 2020-06-04 17:11:04 +02:00
roschaefer
23ae569509 Rename dockerhub organizations
..plus get rid of obsolete prefix `nitro-`.
2020-06-04 13:04:05 +02:00