Commit Graph

1679 Commits

Author SHA1 Message Date
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
Marcin Kulik
964947009b Use latest bidi 2017-04-12 14:43:32 +02:00
Marcin Kulik
b39630d9a7 Log errors with clojure.tools.logging/error 2017-04-12 14:43:32 +02:00
Marcin Kulik
d33e03ff2e Use latest cheshire version (yada chokes on 5.6.3) 2017-04-12 14:43:32 +02:00
Marcin Kulik
137ee108c5 Refactor png generation 2017-04-12 14:43:32 +02:00
Marcin Kulik
0b6ef2492a Fix clj-aws-s3 deps 2017-04-12 14:43:32 +02:00
Marcin Kulik
387d47757f No need to return :exists? true when resource exists 2017-04-12 14:43:32 +02:00
Marcin Kulik
4fe17fbc82 Serve 404 page when none route matches 2017-04-12 14:43:32 +02:00
Marcin Kulik
1e08b39e49 Default 404 page 2017-04-12 14:43:32 +02:00