-
Notifications
You must be signed in to change notification settings - Fork 3
/
development.yml
56 lines (55 loc) · 1.74 KB
/
development.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: '3.7'
services:
nginx:
image: nginx:alpine
restart: always
volumes:
- ./frontend/snowpack/dist:/var/www/html:ro
- ./frontend/public:/var/public:ro
- ./nginx.dev.conf:/etc/nginx/conf.d/default.conf:ro
ports:
- 8080:80
frontend:
image: concepts_frontend
build:
context: ./frontend
dockerfile: snowpack/Dockerfile.dev
restart: always
volumes:
- ./frontend:/concepts/frontend
- ./backend/src/static/port.schema.json:/concepts/backend/src/static/port.schema.json
- ./backend/src/util/permissions.js:/concepts/backend/src/util/permissions.js
- ./backend/src/util/titleCase.js:/concepts/backend/src/util/titleCase.js
- ./backend/src/util/ordering.js:/concepts/backend/src/util/ordering.js
depends_on:
- backend
deploy:
resources:
limits:
cpus: '1'
memory: 3G
backend:
image: concepts_backend
build:
context: ./backend
dockerfile: Dockerfile.dev
restart: always
environment:
ENDPOINT: http://prisma:4466
SECRET: WZIpatNAZYbR7iGd6V6OhuBsxNkNAZoFBLt7ZaWU2D4mBJYqLY
PRISMA_MANAGEMENT_API_SECRET: yFodXR4mdFErATYsUrBvE4RPBiCUADbdONF6OMH28kA8gU0T6A
#HAKA_LOGIN_URL: https://testsp.funet.fi/shibboleth/WAYF?entityID=https://concepts.cs.helsinki.fi&return=https://concepts.cs.helsinki.fi/api/login
#HAKA_METADATA_URL: https://haka.funet.fi/metadata/haka_test_metadata_signed.xml
#SAML_DIR: /concepts/backend/saml
#SAML_FINISH_URL: https://concepts.cs.helsinki.fi/login
ports:
- 8081:4000
volumes:
- ./backend:/concepts/backend
depends_on:
- prisma
deploy:
resources:
limits:
cpus: '1'
memory: 3G