-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-cloud-beta.yml
76 lines (72 loc) · 1.69 KB
/
docker-cloud-beta.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
ratatoskr-beta-secrets:
image: 'turistforeningen/ratatoskr-secrets:v6'
tags:
- app
- volume-1
volumes:
- /secrets
ratatoskr-beta-backend:
image: turistforeningen/ratatoskr:backend-${BUILD_TAG}
autoredeploy: true
environment:
- FORCE_SSL=true
- HSTS_MAX_AGE=31536000
- NODE_ENV=production
- IS_NATIVE=0
- LIBRATO_PREFIX=ratatoskr
- LIBRATO_SOURCE=ratatoskr-beta
- 'VIRTUAL_HOST=http://medlem-beta.dnt.no*,https://medlem-beta.dnt.no*'
- VIRTUAL_HOST_WEIGHT=20
- VIRTUAL_PATH=/
- VIRTUAL_PORT=8080
expose:
- '8080'
links:
- 'ratatoskr-beta-redis:redis'
restart: always
command: node backend/index.js
tags:
- app
volumes_from:
- ratatoskr-beta-secrets:ro
- ratatoskr-beta-assets:ro
ratatoskr-beta-native-backend:
image: turistforeningen/ratatoskr:backend-${BUILD_TAG}
autoredeploy: true
environment:
- FORCE_SSL=true
- HSTS_MAX_AGE=31536000
- NODE_ENV=production
- IS_NATIVE=1
- LIBRATO_PREFIX=ratatoskr
- LIBRATO_SOURCE=ratatoskr-beta-native
- 'VIRTUAL_HOST=http://medlem-beta-native.dnt.no*,https://medlem-beta-native.dnt.no*'
- VIRTUAL_HOST_WEIGHT=20
- VIRTUAL_PATH=/
- VIRTUAL_PORT=8080
expose:
- '8080'
links:
- 'ratatoskr-redis:redis'
restart: always
command: node backend/index.js
tags:
- app
volumes_from:
- secrets:ro
- ratatoskr-assets:ro
ratatoskr-beta-assets:
image: turistforeningen/ratatoskr:assets-${BUILD_TAG}
tags:
- app
- volume-1
volumes:
- /ratatoskr
command: /bin/true
ratatoskr-beta-redis:
autoredeploy: true
command: redis-server --appendonly yes
image: 'redis:3.0'
restart: on-failure
tags:
- app