2017-01-07 15:45:14 +00:00
|
|
|
{:components
|
2017-02-28 10:58:43 +00:00
|
|
|
{:http #var asciinema.component.yada-listener/yada-listener
|
2017-02-15 12:48:35 +00:00
|
|
|
:db #var asciinema.component.db/hikaricp
|
2017-01-15 18:11:22 +00:00
|
|
|
:ragtime #var duct.component.ragtime/ragtime
|
2017-02-16 15:41:30 +00:00
|
|
|
:file-store #var asciinema.component.s3-file-store/s3-file-store
|
2017-02-26 10:38:24 +00:00
|
|
|
:exp-set #var asciinema.component.redis-client/redis-client
|
2017-03-01 15:20:26 +00:00
|
|
|
:png-gen #var asciinema.component.a2png/a2png
|
2017-02-26 10:38:24 +00:00
|
|
|
:executor #var asciinema.component.fixed-thread-executor/fixed-thread-executor}
|
2017-01-07 15:45:14 +00:00
|
|
|
:endpoints
|
2017-02-14 11:15:51 +00:00
|
|
|
{:asciicasts #var asciinema.endpoint.asciicasts/asciicasts-endpoint}
|
2017-01-07 15:45:14 +00:00
|
|
|
:dependencies
|
2017-02-28 10:58:43 +00:00
|
|
|
{:http {:app :asciicasts}
|
2017-01-07 15:45:14 +00:00
|
|
|
:ragtime [:db]
|
2017-03-01 15:20:26 +00:00
|
|
|
:asciicasts [:db :file-store :exp-set :executor :png-gen]}
|
2017-01-07 15:45:14 +00:00
|
|
|
:config
|
2017-02-28 10:58:43 +00:00
|
|
|
{:http
|
2017-01-07 15:45:14 +00:00
|
|
|
{:port http-port}
|
|
|
|
:db
|
|
|
|
{:uri db-uri}
|
|
|
|
:ragtime
|
2017-01-15 18:11:22 +00:00
|
|
|
{:resource-path "asciinema/migrations"}
|
|
|
|
:file-store
|
|
|
|
{:cred {:access-key s3-access-key
|
|
|
|
:secret-key s3-secret-key}
|
|
|
|
:bucket s3-bucket
|
2017-02-16 15:41:30 +00:00
|
|
|
:path-prefix "uploads/"}
|
|
|
|
:exp-set
|
|
|
|
{:host redis-host
|
2017-02-26 10:38:24 +00:00
|
|
|
:port redis-port}
|
2017-03-01 15:20:26 +00:00
|
|
|
:png-gen
|
2017-03-04 13:07:43 +00:00
|
|
|
{:bin-path a2png-bin-path}
|
2017-02-26 10:38:24 +00:00
|
|
|
:executor
|
2017-03-04 12:10:19 +00:00
|
|
|
{:threads 2
|
|
|
|
:queue-length 16}}}
|