Merge pull request #9725 from overleaf/ae-overleaf-develop-ce

Add Server CE development environment

GitOrigin-RevId: c91d9eb58b1dbc3be24646e77033cd3242e707f0
This commit is contained in:
Alf Eaton
2022-10-11 09:19:52 +01:00
committed by Copybot
parent b17bcb6838
commit 773319d550
16 changed files with 474 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up --no-deps --detach "$@"
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
docker-compose down
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
docker-compose logs --follow --tail 10 --no-color "$@" \
| ggrep --line-buffered --invert-match "global.gc" \
| ggrep --line-buffered --invert-match "health.check" \
| ggrep --line-buffered --invert-match "slow event loop" \
| ggrep --line-buffered --invert-match "process.memoryUsage" \
| ggrep --line-buffered --only-matching "\{.*" \
| bunyan --output short
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
docker-compose exec -it "$@" /bin/bash
Executable
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
docker-compose up --build --detach "$@"