-
Notifications
You must be signed in to change notification settings - Fork 50
/
.gitpod.yml
38 lines (33 loc) · 1.07 KB
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
image: fcamblor/cfp-devoxx:0.6
tasks:
- name: Running docker-compose
command: >
docker-compose up -d
&& gp sync-done running-docker-compose
- name: Redis client connection
init: gp sync-await running-docker-compose
command: >
sleep 5
&& docker exec -ti cfp-devoxx_redis redis-cli
- name: run cfp (with play2)
init: gp sync-await running-docker-compose
command: |
if [[ ! -d "/workspace/cfp-devoxx/target" ]]; then cp -a /home/gitpod/bootstrapping-project/cfp-devoxx/target /workspace/cfp-devoxx/target; fi; \
if [[ ! -d "/workspace/cfp-devoxx/project/target" ]]; then cp -a /home/gitpod/bootstrapping-project/cfp-devoxx/project/target /workspace/cfp-devoxx/project/target; fi; \
/home/gitpod/run.sh
ports:
- name: Play2 webapp
port: 9000
onOpen: open-browser
visibility: private
- name: Play2 remote debug
port: 9999
onOpen: ignore
jetbrains:
intellij:
plugins:
- org.intellij.scala
- com.intellij.play
- com.github.tomasmilata.intelliroutes
prebuilds:
version: stable