Commit Graph

1687 Commits

Author SHA1 Message Date
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
Marcin Kulik
265fc002a6 Clear libtsm checkout after installing the lib 2017-04-12 21:22:01 +02:00
Marcin Kulik
ebb50ec04f Update Docker image to be based on Ubuntu 16.04 2017-04-12 21:16:32 +02:00
Marcin Kulik
1c8bdc5e90 Merge pull request #245 from asciinema/next
Bounded (thread-pool based) & asynchronous (Aleph) PNG generation
2017-04-12 15:47:44 +02:00
Marcin Kulik
d37bff0613 Add missing whitespace 2017-04-12 15:43:45 +02:00
Marcin Kulik
7345df6260 Bring back original README 2017-04-12 14:48:02 +02:00
Marcin Kulik
6d15e61860 Kill a2png after 30 sec 2017-04-12 14:43:33 +02:00
Marcin Kulik
8146b66b70 Fix arguments for a2png 2017-04-12 14:43:33 +02:00
Marcin Kulik
bc6f1ed3c7 Rename resource fns 2017-04-12 14:43:33 +02:00
Marcin Kulik
290cd74126 Set :png-gen/:bin-path for dev env 2017-04-12 14:43:33 +02:00
Marcin Kulik
60b8c2cc04 Set content-type for files uploaded to S3 2017-04-12 14:43:33 +02:00
Marcin Kulik
3d13141349 Allow setting a2png path via A2PNG_BIN_PATH 2017-04-12 14:43:33 +02:00
Marcin Kulik
bb0a8b7e29 Use 2 threads for generating PNG 2017-04-12 14:43:33 +02:00
Marcin Kulik
767e33145f Integrate yada with Bugsnag notifier 2017-04-12 14:43:33 +02:00
Marcin Kulik
800f466fa9 Custom responses for error statuses 2017-04-12 14:43:33 +02:00
Marcin Kulik
6769b08818 Log errors except 404 2017-04-12 14:43:33 +02:00
Marcin Kulik
71479150f3 Use timbre directly 2017-04-12 14:43:32 +02:00