0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-04 13:50:12 -05:00
penpot/.gitpod.yml

106 lines
2.1 KiB
YAML
Raw Permalink Normal View History

:tada: Fully automate dev setup with Gitpod. This commit implements a fully-automated development setup using Gitpod.io, an online IDE for GitLab, GitHub, and Bitbucket that enables Dev-Environments-As-Code. This makes it easy for anyone to get a ready-to-code workspace for any branch, issue or pull request almost instantly with a single click. :whale: Gitpod docker image with Clojure Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Fix path to GitPod docker image Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Use sudo for setup Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: More sudo commands Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Remove penpot user in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Brew install redis Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Init DB and penpot user Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Switch user for installs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Improve startup and DB init Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod tasks Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod ports Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Setup for mailhog Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use perms to install mailhog :bug: Install mailhog before workspace creation Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io> :wrench: Manage signed commits Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure tasks to wait on ports :wrench: Improve Gitpod config Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :arrow_up: Upgrade deps in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Use absolute path for cd Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Add nginx conf Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Fix nginx config for gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Ensure nginx listens all incoming :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Set Nginx logs permissions Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use sudo to create nginx logs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com>
2021-02-28 19:09:42 -05:00
image:
file: docker/gitpod/Dockerfile
ports:
# nginx
- port: 3449
onOpen: open-preview
:tada: Fully automate dev setup with Gitpod. This commit implements a fully-automated development setup using Gitpod.io, an online IDE for GitLab, GitHub, and Bitbucket that enables Dev-Environments-As-Code. This makes it easy for anyone to get a ready-to-code workspace for any branch, issue or pull request almost instantly with a single click. :whale: Gitpod docker image with Clojure Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Fix path to GitPod docker image Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Use sudo for setup Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: More sudo commands Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Remove penpot user in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Brew install redis Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Init DB and penpot user Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Switch user for installs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Improve startup and DB init Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod tasks Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod ports Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Setup for mailhog Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use perms to install mailhog :bug: Install mailhog before workspace creation Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io> :wrench: Manage signed commits Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure tasks to wait on ports :wrench: Improve Gitpod config Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :arrow_up: Upgrade deps in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Use absolute path for cd Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Add nginx conf Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Fix nginx config for gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Ensure nginx listens all incoming :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Set Nginx logs permissions Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use sudo to create nginx logs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com>
2021-02-28 19:09:42 -05:00
# frontend nREPL
- port: 3447
onOpen: ignore
visibility: private
:tada: Fully automate dev setup with Gitpod. This commit implements a fully-automated development setup using Gitpod.io, an online IDE for GitLab, GitHub, and Bitbucket that enables Dev-Environments-As-Code. This makes it easy for anyone to get a ready-to-code workspace for any branch, issue or pull request almost instantly with a single click. :whale: Gitpod docker image with Clojure Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Fix path to GitPod docker image Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Use sudo for setup Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: More sudo commands Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Remove penpot user in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Brew install redis Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Init DB and penpot user Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Switch user for installs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Improve startup and DB init Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod tasks Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod ports Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Setup for mailhog Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use perms to install mailhog :bug: Install mailhog before workspace creation Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io> :wrench: Manage signed commits Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure tasks to wait on ports :wrench: Improve Gitpod config Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :arrow_up: Upgrade deps in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Use absolute path for cd Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Add nginx conf Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Fix nginx config for gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Ensure nginx listens all incoming :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Set Nginx logs permissions Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use sudo to create nginx logs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com>
2021-02-28 19:09:42 -05:00
# frontend shadow server
- port: 3448
onOpen: ignore
:tada: Fully automate dev setup with Gitpod. This commit implements a fully-automated development setup using Gitpod.io, an online IDE for GitLab, GitHub, and Bitbucket that enables Dev-Environments-As-Code. This makes it easy for anyone to get a ready-to-code workspace for any branch, issue or pull request almost instantly with a single click. :whale: Gitpod docker image with Clojure Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Fix path to GitPod docker image Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Use sudo for setup Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: More sudo commands Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Remove penpot user in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Brew install redis Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Init DB and penpot user Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Switch user for installs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Improve startup and DB init Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod tasks Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod ports Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Setup for mailhog Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use perms to install mailhog :bug: Install mailhog before workspace creation Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io> :wrench: Manage signed commits Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure tasks to wait on ports :wrench: Improve Gitpod config Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :arrow_up: Upgrade deps in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Use absolute path for cd Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Add nginx conf Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Fix nginx config for gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Ensure nginx listens all incoming :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Set Nginx logs permissions Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use sudo to create nginx logs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com>
2021-02-28 19:09:42 -05:00
visibility: private
# backend
:tada: Fully automate dev setup with Gitpod. This commit implements a fully-automated development setup using Gitpod.io, an online IDE for GitLab, GitHub, and Bitbucket that enables Dev-Environments-As-Code. This makes it easy for anyone to get a ready-to-code workspace for any branch, issue or pull request almost instantly with a single click. :whale: Gitpod docker image with Clojure Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Fix path to GitPod docker image Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Use sudo for setup Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: More sudo commands Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Remove penpot user in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Brew install redis Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Init DB and penpot user Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Switch user for installs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Improve startup and DB init Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod tasks Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod ports Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Setup for mailhog Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use perms to install mailhog :bug: Install mailhog before workspace creation Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io> :wrench: Manage signed commits Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure tasks to wait on ports :wrench: Improve Gitpod config Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :arrow_up: Upgrade deps in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Use absolute path for cd Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Add nginx conf Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Fix nginx config for gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Ensure nginx listens all incoming :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Set Nginx logs permissions Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use sudo to create nginx logs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com>
2021-02-28 19:09:42 -05:00
- port: 6060
onOpen: ignore
:tada: Fully automate dev setup with Gitpod. This commit implements a fully-automated development setup using Gitpod.io, an online IDE for GitLab, GitHub, and Bitbucket that enables Dev-Environments-As-Code. This makes it easy for anyone to get a ready-to-code workspace for any branch, issue or pull request almost instantly with a single click. :whale: Gitpod docker image with Clojure Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Fix path to GitPod docker image Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Use sudo for setup Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: More sudo commands Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Remove penpot user in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Brew install redis Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Init DB and penpot user Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Switch user for installs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Improve startup and DB init Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod tasks Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod ports Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Setup for mailhog Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use perms to install mailhog :bug: Install mailhog before workspace creation Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io> :wrench: Manage signed commits Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure tasks to wait on ports :wrench: Improve Gitpod config Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :arrow_up: Upgrade deps in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Use absolute path for cd Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Add nginx conf Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Fix nginx config for gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Ensure nginx listens all incoming :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Set Nginx logs permissions Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use sudo to create nginx logs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com>
2021-02-28 19:09:42 -05:00
# exporter shadow server
- port: 9630
onOpen: ignore
:tada: Fully automate dev setup with Gitpod. This commit implements a fully-automated development setup using Gitpod.io, an online IDE for GitLab, GitHub, and Bitbucket that enables Dev-Environments-As-Code. This makes it easy for anyone to get a ready-to-code workspace for any branch, issue or pull request almost instantly with a single click. :whale: Gitpod docker image with Clojure Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Fix path to GitPod docker image Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Use sudo for setup Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: More sudo commands Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Remove penpot user in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Brew install redis Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Init DB and penpot user Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Switch user for installs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Improve startup and DB init Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod tasks Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod ports Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Setup for mailhog Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use perms to install mailhog :bug: Install mailhog before workspace creation Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io> :wrench: Manage signed commits Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure tasks to wait on ports :wrench: Improve Gitpod config Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :arrow_up: Upgrade deps in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Use absolute path for cd Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Add nginx conf Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Fix nginx config for gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Ensure nginx listens all incoming :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Set Nginx logs permissions Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use sudo to create nginx logs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com>
2021-02-28 19:09:42 -05:00
visibility: private
:tada: Fully automate dev setup with Gitpod. This commit implements a fully-automated development setup using Gitpod.io, an online IDE for GitLab, GitHub, and Bitbucket that enables Dev-Environments-As-Code. This makes it easy for anyone to get a ready-to-code workspace for any branch, issue or pull request almost instantly with a single click. :whale: Gitpod docker image with Clojure Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Fix path to GitPod docker image Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Use sudo for setup Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: More sudo commands Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Remove penpot user in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Brew install redis Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Init DB and penpot user Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Switch user for installs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Improve startup and DB init Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod tasks Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod ports Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Setup for mailhog Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use perms to install mailhog :bug: Install mailhog before workspace creation Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io> :wrench: Manage signed commits Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure tasks to wait on ports :wrench: Improve Gitpod config Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :arrow_up: Upgrade deps in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Use absolute path for cd Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Add nginx conf Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Fix nginx config for gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Ensure nginx listens all incoming :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Set Nginx logs permissions Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use sudo to create nginx logs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com>
2021-02-28 19:09:42 -05:00
# exporter http server
- port: 6061
onOpen: ignore
:tada: Fully automate dev setup with Gitpod. This commit implements a fully-automated development setup using Gitpod.io, an online IDE for GitLab, GitHub, and Bitbucket that enables Dev-Environments-As-Code. This makes it easy for anyone to get a ready-to-code workspace for any branch, issue or pull request almost instantly with a single click. :whale: Gitpod docker image with Clojure Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Fix path to GitPod docker image Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Use sudo for setup Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: More sudo commands Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Remove penpot user in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Brew install redis Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Init DB and penpot user Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Switch user for installs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Improve startup and DB init Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod tasks Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod ports Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Setup for mailhog Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use perms to install mailhog :bug: Install mailhog before workspace creation Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io> :wrench: Manage signed commits Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure tasks to wait on ports :wrench: Improve Gitpod config Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :arrow_up: Upgrade deps in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Use absolute path for cd Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Add nginx conf Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Fix nginx config for gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Ensure nginx listens all incoming :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Set Nginx logs permissions Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use sudo to create nginx logs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com>
2021-02-28 19:09:42 -05:00
# mailhog web interface
- port: 8025
onOpen: ignore
:tada: Fully automate dev setup with Gitpod. This commit implements a fully-automated development setup using Gitpod.io, an online IDE for GitLab, GitHub, and Bitbucket that enables Dev-Environments-As-Code. This makes it easy for anyone to get a ready-to-code workspace for any branch, issue or pull request almost instantly with a single click. :whale: Gitpod docker image with Clojure Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Fix path to GitPod docker image Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Use sudo for setup Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: More sudo commands Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Remove penpot user in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Brew install redis Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Init DB and penpot user Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Switch user for installs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Improve startup and DB init Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod tasks Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod ports Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Setup for mailhog Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use perms to install mailhog :bug: Install mailhog before workspace creation Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io> :wrench: Manage signed commits Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure tasks to wait on ports :wrench: Improve Gitpod config Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :arrow_up: Upgrade deps in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Use absolute path for cd Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Add nginx conf Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Fix nginx config for gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Ensure nginx listens all incoming :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Set Nginx logs permissions Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use sudo to create nginx logs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com>
2021-02-28 19:09:42 -05:00
# mailhog postfix
- port: 1025
onOpen: ignore
:tada: Fully automate dev setup with Gitpod. This commit implements a fully-automated development setup using Gitpod.io, an online IDE for GitLab, GitHub, and Bitbucket that enables Dev-Environments-As-Code. This makes it easy for anyone to get a ready-to-code workspace for any branch, issue or pull request almost instantly with a single click. :whale: Gitpod docker image with Clojure Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Fix path to GitPod docker image Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Use sudo for setup Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: More sudo commands Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Remove penpot user in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Brew install redis Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Init DB and penpot user Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Switch user for installs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Improve startup and DB init Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod tasks Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod ports Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Setup for mailhog Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use perms to install mailhog :bug: Install mailhog before workspace creation Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io> :wrench: Manage signed commits Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure tasks to wait on ports :wrench: Improve Gitpod config Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :arrow_up: Upgrade deps in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Use absolute path for cd Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Add nginx conf Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Fix nginx config for gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Ensure nginx listens all incoming :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Set Nginx logs permissions Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use sudo to create nginx logs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com>
2021-02-28 19:09:42 -05:00
# postgres
- port: 5432
onOpen: ignore
:tada: Fully automate dev setup with Gitpod. This commit implements a fully-automated development setup using Gitpod.io, an online IDE for GitLab, GitHub, and Bitbucket that enables Dev-Environments-As-Code. This makes it easy for anyone to get a ready-to-code workspace for any branch, issue or pull request almost instantly with a single click. :whale: Gitpod docker image with Clojure Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Fix path to GitPod docker image Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Use sudo for setup Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: More sudo commands Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Remove penpot user in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Brew install redis Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Init DB and penpot user Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Switch user for installs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Improve startup and DB init Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod tasks Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod ports Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Setup for mailhog Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use perms to install mailhog :bug: Install mailhog before workspace creation Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io> :wrench: Manage signed commits Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure tasks to wait on ports :wrench: Improve Gitpod config Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :arrow_up: Upgrade deps in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Use absolute path for cd Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Add nginx conf Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Fix nginx config for gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Ensure nginx listens all incoming :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Set Nginx logs permissions Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use sudo to create nginx logs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com>
2021-02-28 19:09:42 -05:00
# redis
- port: 6379
onOpen: ignore
:tada: Fully automate dev setup with Gitpod. This commit implements a fully-automated development setup using Gitpod.io, an online IDE for GitLab, GitHub, and Bitbucket that enables Dev-Environments-As-Code. This makes it easy for anyone to get a ready-to-code workspace for any branch, issue or pull request almost instantly with a single click. :whale: Gitpod docker image with Clojure Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Fix path to GitPod docker image Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Use sudo for setup Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: More sudo commands Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Remove penpot user in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Brew install redis Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Init DB and penpot user Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Switch user for installs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Improve startup and DB init Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod tasks Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod ports Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Setup for mailhog Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use perms to install mailhog :bug: Install mailhog before workspace creation Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io> :wrench: Manage signed commits Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure tasks to wait on ports :wrench: Improve Gitpod config Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :arrow_up: Upgrade deps in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Use absolute path for cd Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Add nginx conf Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Fix nginx config for gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Ensure nginx listens all incoming :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Set Nginx logs permissions Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use sudo to create nginx logs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com>
2021-02-28 19:09:42 -05:00
# openldap
- port: 389
onOpen: ignore
tasks:
# https://github.com/gitpod-io/gitpod/issues/666#issuecomment-534347856
- name: gulp
command: >
cd $GITPOD_REPO_ROOT/frontend/;
yarn && gp sync-done 'frontend-yarn';
npx gulp --theme=${PENPOT_THEME} watch
- name: frontend shadow watch
command: >
cd $GITPOD_REPO_ROOT/frontend/;
gp sync-await 'frontend-yarn';
npx shadow-cljs watch main
- init: gp await-port 5432 && psql -f $GITPOD_REPO_ROOT/docker/gitpod/files/postgresql_init.sql
name: backend
command: >
cd $GITPOD_REPO_ROOT/backend/;
./scripts/start-dev
- name: exporter shadow watch
command:
cd $GITPOD_REPO_ROOT/exporter/;
gp sync-await 'frontend-yarn';
yarn && npx shadow-cljs watch main
- name: exporter web server
command: >
cd $GITPOD_REPO_ROOT/exporter/;
./scripts/wait-and-start.sh
- name: signed terminal
before: >
:tada: Fully automate dev setup with Gitpod. This commit implements a fully-automated development setup using Gitpod.io, an online IDE for GitLab, GitHub, and Bitbucket that enables Dev-Environments-As-Code. This makes it easy for anyone to get a ready-to-code workspace for any branch, issue or pull request almost instantly with a single click. :whale: Gitpod docker image with Clojure Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Fix path to GitPod docker image Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Use sudo for setup Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: More sudo commands Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Remove penpot user in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Brew install redis Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Init DB and penpot user Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :whale: Switch user for installs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Improve startup and DB init Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod tasks Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure gitpod ports Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Setup for mailhog Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use perms to install mailhog :bug: Install mailhog before workspace creation Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io> :wrench: Manage signed commits Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Configure tasks to wait on ports :wrench: Improve Gitpod config Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :arrow_up: Upgrade deps in gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Use absolute path for cd Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Add nginx conf Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Fix nginx config for gitpod Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Ensure nginx listens all incoming :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :art: Change layers order Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :wrench: Set Nginx logs permissions Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com> :bug: Use sudo to create nginx logs Signed-off-by: madmath03 <mb.mathieu.brunot@gmail.com>
2021-02-28 19:09:42 -05:00
[[ ! -z ${GNUGPG} ]] &&
cd ~ &&
rm -rf .gnupg &&
echo ${GNUGPG} | base64 -d | tar --no-same-owner -xzvf -
init: >
[[ ! -z ${GNUGPG_KEY} ]] &&
git config --global commit.gpgsign true &&
git config --global user.signingkey ${GNUGPG_KEY}
command: cd $GITPOD_REPO_ROOT
- name: redis
command: redis-server
- before: go get github.com/mailhog/MailHog
name: mailhog
command: MailHog
- name: Nginx
command: >
nginx &&
multitail /var/log/nginx/access.log -I /var/log/nginx/error.log