1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

chore: add Gitpod

This commit is contained in:
divlo
2021-04-20 05:18:03 +02:00
parent 9764867eca
commit b0a608c1fa
5 changed files with 54 additions and 4 deletions

17
.gitpod.yml Normal file
View File

@ -0,0 +1,17 @@
image: 'gitpod/workspace-full'
tasks:
- name: 'docker-daemon'
before: 'cp .env.example .env && npm install --global npm@7 && npm install'
init: 'sudo docker-up'
- name: 'docker-container'
before: 'echo "Waiting for docker daemon to start" &&
until docker info &> /dev/null; do sleep 1; done;'
init: 'docker-compose up'
ports:
- port: 3000
onOpen: 'open-preview'
- port: 1080
onOpen: 'notify'