-
Notifications
You must be signed in to change notification settings - Fork 1
/
misc_portals.yml
41 lines (36 loc) · 1.16 KB
/
misc_portals.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
# Misc portals which shall not be generated by gen.py and unnecessary in kong,yml
files_serve:
image: node:8
working_dir: "/home/node/app"
environment:
- "NODE_ENV=production"
volumes:
- "../misc_portals/files/files:/home/node/app"
command: "bash -c 'yarn global add serve && serve -t -c 86400000'"
files_upload:
image: node:8
working_dir: /home/node/app
volumes:
- ../misc_portals/files:/home/node/app
ports:
- 9004:8080
environment:
NODE_ENV: production
PUBLIC_FRONTEND_URL: https://felicity.iiit.ac.in/k/files
PASSWORD: ${KONG_FILE_UPLOAD_PASSWORD}
command: bash -c 'yarn install && yarn start'
pulseup_backend:
image: python:3
volumes:
- ../misc_portals/pulseup/backend:/app
ports:
- 9876:8080
command: bash -c "cd /app && pip install uwsgi && pip install -r pulseup/requirements.txt && python manage.py makemigrations && python manage.py migrate && uwsgi --ini uwsgi.ini"
pulseup_frontend:
image: node:8
working_dir: "/home/node/app"
environment:
- "NODE_ENV=production"
volumes:
- "../misc_portals/pulseup/frontend/build:/home/node/app"
command: "bash -c 'yarn global add serve && serve -s'"