You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/deployment-dokku.md
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,8 @@ ENVIRONMENT="production" \
43
43
# ...remaining general environment variables...
44
44
```
45
45
46
+
_providing a `\` at the end of the line allows you to continue the command onto new lines instead of typing all of the variables in one line_
47
+
46
48
**See [Environment Variables](deployment-environment-variables.md) for all required environment variables**
47
49
48
50
Once all configuration is set, add Dokku as a remote & run an initial deploy.
@@ -123,7 +125,7 @@ Usually, there's no need to modify the nginx config for the apps. However, we ha
123
125
124
126
Sidekiq's web UI will throw a 502 Gateway error out of the box on production. To fix this, [increase the nginx buffer size](https://github.com/mperham/sidekiq/issues/3143#issuecomment-248923576).
125
127
126
-
Create `proxy_buffer.conf` with the following:
128
+
Create `/home/dokku/hm/nginx.conf.d/proxy_buffer.conf` with the following:
127
129
128
130
```
129
131
# Fix for Sidekiq web console
@@ -136,7 +138,7 @@ proxy_busy_buffers_size 256k;
136
138
137
139
Support decently-sized resumes.
138
140
139
-
Create `upload.conf` with the following:
141
+
Create `/home/dokku/hm/nginx.conf.d/upload.conf` with the following:
140
142
141
143
```
142
144
client_max_body_size 2M;
@@ -146,7 +148,7 @@ client_max_body_size 2M;
146
148
147
149
### MySQL Timezone Tables (Groupdate)
148
150
149
-
**Update: Looks like dokku-mysql has timezone information by default, so this shouldn't be necessary.**
151
+
**Update: Looks like dokku-mysql has timezone information by default, so this shouldn't be necessary anymore.**
150
152
151
153
In order to support groupdate, timezone tables must be created.
0 commit comments