Commit Graph

9 Commits

Author SHA1 Message Date
Gergő Jedlicska 356467b618 fix(dockerfile, docker-compose.yaml): add wait for db and redis to server container
When starting the server via docker-compose currently the server starts up faster than the postgres
instance. This causes the server app to crash. The fix now adds a wait script that pings the
database and the cache containers unit they properly start up. This delays the server boot until all
deps are started.
2021-01-30 16:43:23 +01:00
Gergő Jedlicska d478457565 Merge branch 'viewer_in_docker' into containers_kickstart 2021-01-26 09:36:26 +01:00
Gergő Jedlicska 404bd39a8a fix(dockerfile): add viewer to the docker build process
Docker build failed with the current setup because of missing viewer dependecies.

fix #83
2021-01-26 09:29:04 +01:00
Gergő Jedlicska 6505322c3e Merge remote-tracking branch 'upstream/master' into containers_kickstart 2021-01-22 15:34:36 +01:00
Peter Grainger 72b760d3fa refactor(docker): improve performance of image building
Move instructions around and split out downloading third party dependencies
2021-01-20 10:11:04 +00:00
Peter Grainger a5a233d913 feat(docker): refactor of Dockerfile and avoid loading dev dependency in prod
Refactor of the Dockerfile to keep as minimal as possible and add documentation. Also moved an npm module reference to only be referenced in development
2021-01-19 22:07:49 +00:00
Gergő Jedlicska 299ceee3a1 feat(dockerfile docker-compose app.js): production environment compatible build
Add consistent and optimized dockerfile with docs. Move http-proxy require to only in dev
environment. Removes mounting of server source code in the container. Restrict debug loggin only for
`speckle:*` logger.
2021-01-19 21:57:03 +01:00
Peter Grainger f45c6d5028 feat(docker): add docker configuration for frontend and server
Provide a Dockerfile to create an image containing the frontend and the server.
2021-01-19 12:03:01 +00:00
Gergő Jedlicska 51a6cacf5b add Dockerfile for server and frontend
add reddis insigth container for redis management

with a slightly hackish way (mounting the server forder inside the container)
add working server app with only `docker-compose up`
2021-01-18 21:15:06 +01:00