40 Commits

Author SHA1 Message Date
Wolfgang Huß
a0a2fb43ab Prettify some formating 2021-05-30 20:52:16 +02:00
dec17d0e8d
- ci fixes
- docker-compose.test.yml
- fixed nuxt permissions in dev environment(docker)
2021-01-30 06:36:28 +01:00
c5a1243b4b
- corrected comment 2021-01-23 02:09:44 +01:00
47f58a3c5e
some comment-styling issues 2021-01-22 14:25:05 +01:00
169b0b4520
Update docker-compose.override.yml
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2021-01-22 14:17:53 +01:00
930cce6b51
fixed neo4j query browser name - its not called playground 2021-01-22 11:31:31 +01:00
33b8b001d7
- remove yarn run dev command since its part of the dockerfile for the production stage 2021-01-19 23:18:52 +01:00
a662fed961
- override all image names for development
- structuring comment for service blocks
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ß
818ce5795d Correct docker-compose volume paths for override 2021-01-04 15:49:45 +01:00
Wolfgang Huß
cd61a32a4c Rename 'schoolsinmotion/.' Docker image names 2020-12-17 18:53:27 +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
Wolfgang Huß
da91be2136 Change docker repository to develop-maintenance
- maintenance  —>  develop-maintenance
2020-10-29 11:14: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
a20aebc027 Remove obsolete env var 2020-06-15 15:18:25 +02:00
roschaefer
3a216226bc Paramterize all emails 2020-06-05 14:15:42 +02:00
roschaefer
0ee3a308a7 Add tags and APPLICATION_NAME env variable 2020-06-05 13:07:27 +02:00
roschaefer
73c1f3c88b Silly fix of copy+paste error 2020-06-04 21:56:36 +02:00
roschaefer
936018198e Silly copy+paste error 2020-06-04 21:52:08 +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
ogerly
10012fa62a No public registration in development so that backend test pass 2019-11-29 16:30:15 +01:00
roschaefer
afe189435a Allow public registration by default on docker env
My thought here is that a mailserver is started in
`docker-compose.override.yml` so you can see the emails being sent.
2019-10-11 00:54:19 +02:00
roschaefer
08244ab4b2 Address @mattwr18's review here:
https://github.com/Human-Connection/Human-Connection/pull/1543#pullrequestreview-287593264

Thinking about it, I really ask myself why I did not find this solution
earlier 🙈

Of course, you don't want to share the generated `buildDir`
with the host system. If you happen to share the `webapp/` folder,
simply point NuxtJS to a build directory somewhere else. Easy!
2019-09-12 22:56:52 +02:00
roschaefer
10418f061b Various changes to build pipeline
* Use `production` docker images for cypress tests. As one of our contributors
pointed out: It is bad practice to end-to-end test sth. else than the actual
production images.
* Have a dedicated `docker-compose.travis-integration.yml` to test
backend integration tests. The backend *needs* a database when doing
integration tests. So there is no way around using docker-compose. But
we could stop using the `build-and-test` stage when we do cypress tests.
* Remove a couple of unused ports and DRY `docker-compose.override.yml`
* Build and tag all images first and then run `docker-compose .. up` - I
hope this will not rebuild the image.
* Reduce docker image size
2019-09-12 00:29:36 +02:00
roschaefer
5804b1352c Remove old docker files 2019-09-11 08:43:26 +02:00
roschaefer
5cf82d5e18 Fix build
Here are the issues
* webapp was built with `NODE_ENV=production` but started with
`NODE_ENV=development`
* using the provided `docker-compose.travis.yml` the command `yarn run
start` would look in the wrong folder
* removed duplicate environment definition
2019-09-11 02:22:08 +02:00
roschaefer
4d5769fbc6 Fix cypress tests and factories 2019-09-03 21:28:29 +02:00
roschaefer
bfa0509693 This should fix our endless debugging
@ogerly all you have to do now is to `docker-compose up`. On your host
machine, you can run `yarn run cypress:open` to run the tests.
2019-08-28 12:34:21 +02:00
Robert Schäfer
da30001ba8 Testing mail delivery with a remote SMTP server 2019-06-20 15:54:56 +02:00
Robert Schäfer
3f5e9a21cc Disable SEND_MAILS for local development and test
.. but enable it by default for `docker-compose.override.yml`. If the developer
uses `docker-compose` we can safely assume that a local smtp server for
development is running.
2019-06-19 15:03:38 +02:00
Robert Schäfer
d558a4de37 Add mailserver for development 2019-06-15 11:11:15 +02:00
Robert Schäfer
bcc2c4dbbb Configure scripts and docker-compose.yml
After endless try/error I found the way to share volumes between
multiple docker-compose.ymls: You have to place those files in the same
folder. Also the import scripts must be adapted.
2019-05-07 21:48:09 +02:00
Robert Schäfer
44d1265681 Restructure for monorepo 2019-03-21 02:11:35 +01:00