Commit Graph

1703 Commits

Author SHA1 Message Date
Marcin Kulik
ee223e649a Whitespace 2017-04-18 16:38:12 +02:00
Marcin Kulik
c9d334bd00 Derive smtp_from_address from BASE_URL when no SMTP_FROM_ADDRESS set 2017-04-18 16:38:12 +02:00
Marcin Kulik
1ce5c6cbde Use ## for comments in example env file 2017-04-18 16:38:12 +02:00
Marcin Kulik
1a84b0cbdd Switch from HOST and SCHEME to BASE_URL env var 2017-04-18 16:38:12 +02:00
Marcin Kulik
ddca9db3e1 Use fog with S3 when S3_BUCKET env var is set 2017-04-18 14:28:58 +02:00
Marcin Kulik
0e7bf6a5dc Remove unused config option 2017-04-18 13:56:34 +02:00
Marcin Kulik
de1542f87b Use SECRET_KEY_BASE instead of SECRET_TOKEN 2017-04-18 13:55:11 +02:00
Marcin Kulik
006090b46c Make sure containers restart on daemon boot 2017-04-15 22:52:23 +02:00
Marcin Kulik
dba6a45cc8 Allow building Docker image via docker-compose build 2017-04-15 22:50:08 +02:00
Marcin Kulik
2f4c2cd826 Use newer fog - no more "Digest::Digest is deprecated; use Digest" \o/ 2017-04-15 22:22:09 +02:00
Marcin Kulik
44fed66336 Use default postgres image user/pass/db - there's no real benefit for custom ones 2017-04-15 22:02:01 +02:00
Marcin Kulik
30911bd09f Use .env.production ENV file for configuring containers 2017-04-15 21:55:07 +02:00
Marcin Kulik
fe71738dce Document PostgreSQL and Redis persistence 2017-04-15 21:24:51 +02:00
Marcin Kulik
43d19f3ad3 Extract installation instructions into separate doc 2017-04-15 20:43:29 +02:00
Marcin Kulik
e12f100018 Add "Security" section 2017-04-15 19:52:50 +02:00
Marcin Kulik
1008957254 README tweaks 2017-04-15 19:38:05 +02:00
Marcin Kulik
20904489c4 Add "welcome" asciicast on db init 2017-04-15 18:15:52 +02:00
Marcin Kulik
b4ed4edc9c More comments 2017-04-15 00:30:18 +02:00
Marcin Kulik
26e36429ae Fix a2png wrt PhantomJS dep 2017-04-15 00:25:21 +02:00
Marcin Kulik
31904bdaa8 Comment 2017-04-15 00:03:17 +02:00
Marcin Kulik
3e0971d704 Be explicit about db user and name in Docker compose setup 2017-04-15 00:01:31 +02:00
Marcin Kulik
5c374f2b77 Merge pull request #247 from asciinema/docker-smtp
Use namshi/smtp container for delivering emails
2017-04-14 20:32:03 +02:00
Marcin Kulik
a8753e85eb Use namshi/smtp container for delivering emails 2017-04-14 10:34:42 +02:00
Marcin Kulik
37912a115d Install tzdata in hope to fix build on Docker hub /o\ 2017-04-14 09:10:17 +02:00
Marcin Kulik
34bcb4bd21 Words 2017-04-13 21:05:32 +02:00
Marcin Kulik
e545bbbf90 Merge pull request #246 from asciinema/dockerfile-tweaks
Dockerfile tweaks
2017-04-13 20:54:31 +02:00
Marcin Kulik
a524b1ac70 Fix order of docker-compose commands to prevent "no such database" errors 2017-04-13 20:47:42 +02:00
Marcin Kulik
9f511e30fa ADD -> COPY 2017-04-13 20:47:42 +02:00
Marcin Kulik
a43363ab0f Dockerignore more files in a2png/ 2017-04-13 20:47:39 +02:00
Marcin Kulik
ecdc8a463e Add missing imagemagick dependency to Docker image 2017-04-13 20:10:19 +02:00
Marcin Kulik
5714656e9d Document dependencies in Dockerfile 2017-04-13 19:37:02 +02:00
Marcin Kulik
fc412ccf81 Do not expose Rails config dir as volume 2017-04-13 18:13:30 +02:00
Marcin Kulik
1edd77b677 Fix assets compilation without database.yml 2017-04-13 18:12:45 +02:00
Marcin Kulik
3922068b3c Compile a2png before adding whole source tree 2017-04-13 18:10:23 +02:00
Marcin Kulik
fe71ae9515 Make supervisor log its children stdout/stderr to its own stdout/stderr 2017-04-13 18:09:13 +02:00
Marcin Kulik
fe4653445e Add more patterns to .dockerignore 2017-04-13 18:08:42 +02:00
Marcin Kulik
c5730d914d Use unicorn in Docker container 2017-04-13 18:08:06 +02:00
Marcin Kulik
4a6f6cb7ca Rename docker containers & services 2017-04-13 16:46:10 +02:00
Marcin Kulik
e134fd7898 No need to link to redis container when setting up db 2017-04-13 16:46:10 +02:00
Marcin Kulik
0e6b2366eb Update Dockerfile comments wrt deprecation of Docker Toolbox 2017-04-13 16:24:00 +02:00
Marcin Kulik
392ae14be2 Fix port mapping in docker-compose 2017-04-13 15:56:50 +02:00
Marcin Kulik
2ff6275a3c Whitespace 2017-04-13 15:56:37 +02:00
Marcin Kulik
23130c3bfc Run Rails app in production env 2017-04-13 14:37:40 +02:00
Marcin Kulik
442a68bb21 Put Nginx in front of Rails 2017-04-13 14:15:38 +02:00
Marcin Kulik
0823c79b54 Comments 2017-04-13 11:42:57 +02:00
Marcin Kulik
9e96ac01f3 Properly build a2png 2017-04-13 11:26:22 +02:00
Marcin Kulik
6509f74192 No need to create tmp/restart.txt 2017-04-12 21:48:58 +02:00
Marcin Kulik
f4f831e114 No need to delete log/* 2017-04-12 21:48:24 +02:00
Marcin Kulik
5353055d58 Run bundle install before adding whole app source tree to prevent cache busting 2017-04-12 21:43:32 +02:00
Marcin Kulik
200d6e1c24 Use asciinema's libtsm fork 2017-04-12 21:22:12 +02:00