mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-05-29 22:37:44 +02:00
chore(gitpod): simplify config
This commit is contained in:
13
.gitpod.yml
13
.gitpod.yml
@ -1,21 +1,14 @@
|
|||||||
image: 'gitpod/workspace-full'
|
image: 'gitpod/workspace-full'
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: 'docker-daemon'
|
- before: 'cp .env.example .env && npm install --global npm@7'
|
||||||
init: 'cp .env.example .env && npm install --global npm@7 && npm ci'
|
init: 'npm clean-install'
|
||||||
command: 'sudo docker-up'
|
command: 'npm run dev'
|
||||||
- name: 'docker-container'
|
|
||||||
init: 'echo "Waiting for docker daemon to start" &&
|
|
||||||
until docker info &> /dev/null; do sleep 1; done;'
|
|
||||||
command: 'docker-compose up'
|
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- port: 3000
|
- port: 3000
|
||||||
onOpen: 'open-preview'
|
onOpen: 'open-preview'
|
||||||
|
|
||||||
- port: 1080
|
|
||||||
onOpen: 'notify'
|
|
||||||
|
|
||||||
github:
|
github:
|
||||||
prebuilds:
|
prebuilds:
|
||||||
master: true
|
master: true
|
||||||
|
Reference in New Issue
Block a user