-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.prod.yml
50 lines (46 loc) · 960 Bytes
/
docker-compose.prod.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
version: '3.7'
services:
web:
ports:
- "80:80"
- "443:443"
secrets:
- source: web-certificate
target: wsfed.crt
uid: '100'
gid: '101'
mode: 0400
- source: web-key
target: wsfed.rsa
uid: '100'
gid: '101'
mode: 0400
- source: web-pass
target: wsfed.pass
uid: '100'
gid: '101'
mode: 0400
configs:
- source: web-configuration
target: /etc/nginx/nginx.conf
- source: server-configuration
target: /etc/nginx/conf.d/default.conf
app:
image: customer.com/org/wsfed
configs:
- source: app-configuration
target: /app/appsettings.json
secrets:
web-certificate:
external: true
web-key:
external: true
web-pass:
external: true
configs:
web-configuration:
external: true
server-configuration:
external: true
app-configuration:
external: true