-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-cloud.yml
51 lines (51 loc) · 1.08 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
asgardr-assets:
image: 'turistforeningen/asgardr:assets'
tags:
- app
- volume-2
volumes:
- /assets
command: /bin/true
restart: always
asgardr-node:
image: 'turistforeningen/asgardr:node'
autoredeploy: true
environment:
- 'APP_URL=https://admin.nasjonalturbase.no'
- FORCE_SSL=true
- HSTS_MAX_AGE=31536000
- NODE_ENV=production
- 'NTB_API_URL=https://api.nasjonalturbase.no'
- NTB_API_ENV=api
- 'VIRTUAL_HOST=http://admin.nasjonalturbase.no*,https://admin.nasjonalturbase.no*'
- VIRTUAL_HOST_WEIGHT=20
- VIRTUAL_PATH=/
- VIRTUAL_PORT=8080
expose:
- '8080'
links:
- 'asgardr-redis:redis'
- 'statsd.statsd-librato:statsd'
restart: always
command: node index.js
tags:
- app
- volume-2
volumes_from:
- 'asgardr-assets:ro'
- 'secrets:ro'
asgardr-redis:
autoredeploy: true
command: redis-server --appendonly yes
image: 'redis:3.0'
restart: on-failure
tags:
- app
- volume-2
secrets:
image: 'turistforeningen/asgardr-secrets:v1'
tags:
- app
- volume-2
volumes:
- /secrets