-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy path.gitpod.yml
43 lines (40 loc) · 1.4 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
39
40
41
42
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
# and commit this file to your remote git repository to share the goodness with others.
tasks:
- name: Instalar Python
init: >
pyenv install 3.10.7 -f &&
pyenv local 3.10.7 &&
gp sync-done bundle
- name: Instalar dependencias
init: gp sync-await bundle
command: pip install -r requirements.txt && pip install -r sidecar-requirements.txt && pip install -r ui-requirements.txt
- name: Crear imagenes Docker
init: >
docker build . -f aeroalpes.Dockerfile -t aeroalpes/flask &&
docker build . -f adaptador.Dockerfile -t aeroalpes/adaptador &&
docker build . -f notificacion.Dockerfile -t aeroalpes/notificacion &&
docker build . -f ui.Dockerfile -t aeroalpes/ui &&
gp sync-done images
- name: Crear folder para datos, clientes, conectores y asigna permisos
init: >
mkdir -p data/bookkeeper &&
mkdir -p data/zookeeper &&
mkdir -p data/mysql &&
sudo chmod -R 777 ./data &&
sudo chmod -R 777 ./connectors
- name: Pull el Docker compose
init: gp sync-await images
command: docker-compose pull
ports:
- port: 2181
onOpen: ignore
- port: 8080
onOpen: ignore
- port: 6650
onOpen: ignore
- port: 2181
onOpen: ignore
- port: 6650
onOpen: ignore