-
Notifications
You must be signed in to change notification settings - Fork 2
/
rancher-docker-compose.yml
96 lines (96 loc) · 3.2 KB
/
rancher-docker-compose.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
95
96
version: '2'
services:
call:
image: withinboredom/engine:$VERSION
environment:
DB_NAME: "$DBNAME"
DB_HOST: "$DBHOST"
PLIVO_ID: "$PLIVO_ID"
PLIVO_TOKEN: "$PLIVO_TOKEN"
SMS: "$SMS"
CALL: "$CALL"
CALL_HOST: "$CALL_HOST"
STRIPE_KEY: "$STRIPE_KEY"
STRIPE_P_KEY: "$STRIPE_P_KEY"
labels:
traefik.frontend.rule: Host:converser.space
traefik.backend.circuitbreaker.expression: NetworkErrorRatio() > 0.5
traefik.enable: 'true'
traefik.backend: converser
traefik.port: '80'
traefik.domain: space
io.rancher.container.pull_image: always
traefik.frontend.passHostHeader: 'true'
traefik.frontend.entryPoints: https
www:
image: withinboredom/site:$VERSION
labels:
traefik.frontend.rule: Host:converser.space
traefik.backend.circuitbreaker.expression: NetworkErrorRatio() > 0.5
traefik.enable: stack
traefik.backend: converser
traefik.alias: www.converser
traefik.port: '8080'
traefik.domain: space
io.rancher.container.pull_image: always
traefik.frontend.passHostHeader: 'true'
traefik.frontend.entryPoints: https
rethinkdb:
image: rethinkdb:2.3.5
command:
- bash
- -c
- rethinkdb create && exec rethinkdb --bind all --join rethinkdb-joiner
labels:
io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=converser/rethinkdb,io.rancher.stack_service.name=converser/rethinkdb-joiner
io.rancher.container.hostname_override: container_name
io.rancher.container.pull_image: always
api:
image: withinboredom/api:$VERSION
environment:
DB_NAME: "$DBNAME"
DB_HOST: "$DBHOST"
PLIVO_ID: "$PLIVO_ID"
PLIVO_TOKEN: "$PLIVO_TOKEN"
SMS: "$SMS"
CALL: "$CALL"
CALL_HOST: "$CALL_HOST"
STRIPE_KEY: "$STRIPE_KEY"
STRIPE_P_KEY: "$STRIPE_P_KEY"
labels:
traefik.frontend.rule: Host:converser.space
traefik.backend.circuitbreaker.expression: NetworkErrorRatio() > 0.5
traefik.enable: 'true'
traefik.backend: converser
traefik.port: '1337'
traefik.domain: space
io.rancher.container.pull_image: always
traefik.frontend.passHostHeader: 'true'
traefik.frontend.entryPoints: https
rethinkdb-joiner:
image: rethinkdb:2.3.5
command:
- bash
- -c
- rethinkdb create && exec rethinkdb --bind all
labels:
io.rancher.container.pull_image: always
io.rancher.container.hostname_override: container_name
io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=converser/rethinkdb
admin:
image: beevelop/nginx-basic-auth
environment:
HTPASSWD: "robert:$$2y$$08$$AVEqelgZ8M8miAt26m3WhutIYj5/v8HNK4Y3TBK.Hdqcw6asnZqnC"
FORWARD_PORT: 8080
links:
- rethinkdb-joiner:web
labels:
traefik.frontend.rule: Host:converser.space
traefik.backend.circuitbreaker.expression: NetworkErrorRatio() > 0.5
traefik.enable: 'true'
traefik.backend: converser
traefik.port: '80'
traefik.domain: space
io.rancher.container.pull_image: always
traefik.frontend.passHostHeader: 'true'
traefik.frontend.entryPoints: https