-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-cloud.yml
94 lines (94 loc) · 3.88 KB
/
docker-cloud.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
app-stl-viewer:
environment:
- OAUTH_CALLBACK_URL
- OAUTH_CLIENT_ID
- OAUTH_CLIENT_SECRET
- REDIS_HOST=redis
- REDIS_PORT=6379
- 'VIRTUAL_HOST=*,https://*'
expose:
- '3000'
image: 'onshape/app-stl-viewer:latest'
links:
- redis
haproxy:
image: 'dockercloud/haproxy:1.6.3'
environment:
- |
DEFAULT_SSL_CERT=-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEA3cp1UqMNJMWoHsFXWYGV080Rg8jLnhLMRFYHuF8ER56TOEi0
YAkEQ0uuhDzmeqjfOBWvq7UN0n/EQ1RkLaILp+De01qC4DpsEi9fa47OlSYnkffL
rvumJQugevruphnE9hRPd8wTXwT9Psr9qpj/6o/YmlqIBo5AhWH+TKZpoYdczuKP
qPfeUueZI13BdLvtIyamh5VLpIT1z1lgLTi1V0ndPaYSlJu+ZHKp33ZfAXPtdtiW
ZX3LAkKq/F060vYALKECaMzraoF8hoVFw1XhoiZfD+uMzrEoicSSDNPzf61YR66B
0HfEAsa5DnKXYmdz6/SiCJeC5PUNoHa/UtpKgwIDAQABAoIBAQDBIGl28sogKgkR
9tND+kXn71qAAZnkZIQAQVVpoztLzfZt/Ukrks5mdwFY3trnFiOBZ8jXYMnPcTgK
VPMClWdG4NXG/rqV2+l9EEkrlGeoklfEkByJm1F6UpyEWfrzId9TVC46p7Z6eBK4
2fN22NGHg4heJ9TouHfQbZsNTZ8Pafpqg/lCyoDVr3nWji09IsofQLupas59d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encrypt
ports:
- '443:443'
roles:
- global
tags:
- haproxy
- production
volumes_from:
- letsencrypt
letsencrypt:
image: 'interaction/letsencrypt:master'
environment:
- DOMAINS=app-stl-viewer.example.com
- EMAIL=user@example.com
- 'HAPROXY_IMAGE=dockercloud/haproxy:1.6.3'
ports:
- '80:80'
roles:
- global
tags:
- letsencrypt
- production
volumes:
- /var/run/docker.sock:/var/run/docker.sock
redis:
image: 'redis:latest'
ports:
- '6379'