-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.notification.tpl.yml
41 lines (41 loc) · 1.19 KB
/
docker-compose.notification.tpl.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
#notification-server-version:<VERSION>
#strato-getting-started-min-version:4.6.0
version: '3'
services:
notification-server:
environment:
- NODE_ENV=${NODE_ENV}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_SERVER_URL=${POSTGRES_SERVER_URL}
- POSTGRES_PORT=${POSTGRES_PORT}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_DBNAME=${POSTGRES_DBNAME}
- SENDGRID_API_KEY=${SENDGRID_API_KEY}
build: .
image: ${NOTIFICATION_SERVER_IMAGE:-<REPO_URL>notification-server:<VERSION>}
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "3"
nginx:
depends_on:
- notification-server
environment:
- OAUTH_DISCOVERY_URL=${OAUTH_DISCOVERY_URL}
- ssl=${ssl}
- sslCertFileType=${sslCertFileType}
build: .
image: ${NOTIFICATION_SERVER_NGINX_IMAGE:-<REPO_URL>notification-server-nginx:<VERSION>}
ports:
- ${HTTP_PORT:-80}:80 #TAG_REMOVE_WHEN_SSL_CUSTOM_HTTPS_PORT
- ${HTTPS_PORT:-443}:443 #TAG_REMOVE_WHEN_NO_SSL
volumes:
- ./ssl:/tmp/ssl:ro
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "3"