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-04-19 21:46:19 +00:00
|
|
|
:auto-file-store #var asciinema.component.auto-file-store/auto-file-store
|
|
|
|
:redis-client #var asciinema.component.redis-client/redis-client
|
|
|
|
:a2png #var asciinema.component.a2png/a2png
|
|
|
|
:fixed-thread-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-04-19 21:46:19 +00:00
|
|
|
:asciicasts {:db :db
|
|
|
|
:file-store :auto-file-store
|
|
|
|
:exp-set :redis-client
|
|
|
|
:executor :fixed-thread-executor
|
|
|
|
:png-gen :a2png}}
|
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"}
|
2017-04-19 21:46:19 +00:00
|
|
|
:auto-file-store
|
2017-04-18 21:58:41 +00:00
|
|
|
{:path "uploads/"
|
|
|
|
:s3-bucket s3-bucket
|
|
|
|
:s3-cred {:access-key s3-access-key
|
|
|
|
:secret-key s3-secret-key}}
|
2017-04-19 21:46:19 +00:00
|
|
|
:redis-client
|
2017-04-18 21:57:02 +00:00
|
|
|
{:uri redis-url}
|
2017-04-19 21:46:19 +00:00
|
|
|
:a2png
|
2017-03-04 13:07:43 +00:00
|
|
|
{:bin-path a2png-bin-path}
|
2017-04-19 21:46:19 +00:00
|
|
|
:fixed-thread-executor
|
2017-03-04 12:10:19 +00:00
|
|
|
{:threads 2
|
|
|
|
:queue-length 16}}}
|