-
Notifications
You must be signed in to change notification settings - Fork 20
/
deploy.yml
62 lines (56 loc) · 1.32 KB
/
deploy.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
# Name of your application. Used to uniquely configure containers.
service: bustimes
# Name of the container image.
image: jclgoodwin/bustimes-org
# Deploy to these servers.
servers:
web:
hosts:
- 10.131.29.248 # everglory
- 10.131.0.24 # eveready
- 10.131.240.95 # evergood
env:
clear:
WEB_CONCURRENCY: 8
ALLOWED_HOSTS: "*"
EMAIL_HOST: email-smtp.eu-west-1.amazonaws.com
DISABLE_EDITING: ""
DISABLE_REGISTRATION: yes
secret:
- SECRET_KEY
- DATABASE_URL
- REDIS_URL
- SENTRY_DSN
- TURNSTILE_SECRET
- EMAIL_HOST_USER
- EMAIL_HOST_PASSWORD
- TFL_APP_ID
- TFL_APP_KEY
- NTA_API_KEY
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
builder:
arch: amd64
cache:
type: registry
options: mode=max
# Credentials for your image host.
registry:
# Specify the registry server, if you're not using Docker Hub
server: registry.digitalocean.com/hobsbawm
# see https://github.com/settings/tokens
username:
- KAMAL_REGISTRY_PASSWORD
password:
- KAMAL_REGISTRY_PASSWORD
asset_path: /staticfiles
proxy:
app_port: 8000
healthcheck:
path: /version
buffering:
responses: false
logging:
request_headers:
- Referer
response_headers: []