forked from hpi-schul-cloud/schulcloud-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose-server-test.dummy
68 lines (63 loc) · 1.53 KB
/
compose-server-test.dummy
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
57
58
59
60
61
62
63
64
65
66
67
---
version: \"3.7\"
services:
### HPI Schul-Cloud Server
###
server-mongodb:
image: mongo:3.4
deploy:
replicas: 1
restart_policy:
condition: always
ports:
- \"27017\"
volumes:
- data-server-mongodb:/data/db
restart: any
###
server:
image: schulcloud/schulcloud-server:$DOCKERTAG
deploy:
replicas: 1
restart_policy:
condition: any
resources:
limits:
cpus: '1'
memory: 2048M
reservations:
cpus: '0.1'
memory: 2048M
depends_on:
- server-mongodb
environment:
# ENV
- NODE_ENV=production
- HOST=$HOST_STAGING
- SC_TITLE=HPI Schul-Cloud
- SC_SHORT_TITLE=HPI Schul-Cloud
- SHLVL=1
# SMTP
- SMTP=$SMTP
- SMTP_SENDER=$SMTP_SENDER
# Storage
- AWS_ENDPOINT_URL=$AWS_ENDPOINT_URL_STAGING
- AWS_ACCESS_KEY=$AWS_ACCESS_KEY
- AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
# URIs and Port
- MONGO_URI=mongodb://server-mongodb:27017/schulcloud
- CALENDAR_URI=http://calendar:3000
- CONTENT_URI=https://content.schul-cloud.org
- NOTIFICATION_URI=http://notification:3030
- PORT=3030
# AUTH Secret
- AUTHENTICATION=$AUTHENTICATION
# ROCKETCHAT
- ROCKET_CHAT_URI=$ROCKET_CHAT_URI_STAGING
- ROCKET_CHAT_ADMIN_TOKEN=$ROCKET_CHAT_ADMIN_TOKEN
- ROCKET_CHAT_ADMIN_ID=$ROCKET_CHAT_ADMIN_ID
ports:
- \"3030:3030\"
restart: always
volumes:
data-server-mongodb: