github.com/friesencr/pop/v6@v6.1.6/genny/config/templates/cockroach.yml.tmpl (about) 1 --- 2 development: 3 dialect: cockroach 4 database: {{.opts.Prefix}}_development 5 host: {{"{{"}} envOr "COCKROACH_HOST" "127.0.0.1" }} 6 port: {{"{{"}} envOr "COCKROACH_PORT" "26257" }} 7 user: {{"{{"}} envOr "COCKROACH_USER" "root" }} 8 password: {{"{{"}} envOr "COCKROACH_PASSWORD" "" }} 9 pool: 5 10 options: 11 sslmode: disable 12 #sslrootcert: {{"{{"}} envOr "COCKROACH_SSL_ROOTCERT" "" }} 13 #sslcert: {{"{{"}} envOr "COCKROACH_SSL_CERT" "" }} 14 #sslkey: {{"{{"}} envOr "COCKROACH_SSL_KEY" "" }} 15 16 test: 17 dialect: cockroach 18 database: {{.opts.Prefix}}_test 19 host: {{"{{"}} envOr "COCKROACH_HOST" "127.0.0.1" }} 20 port: {{"{{"}} envOr "COCKROACH_PORT" "26257" }} 21 user: {{"{{"}} envOr "COCKROACH_USER" "root" }} 22 password: {{"{{"}} envOr "COCKROACH_PASSWORD" "" }} 23 pool: 5 24 options: 25 sslmode: disable 26 #sslrootcert: {{"{{"}} envOr "COCKROACH_SSL_ROOTCERT" "" }} 27 #sslcert: {{"{{"}} envOr "COCKROACH_SSL_CERT" "" }} 28 #sslkey: {{"{{"}} envOr "COCKROACH_SSL_KEY" "" }} 29 30 production: 31 dialect: cockroach 32 database: {{.opts.Prefix}}_production 33 host: {{"{{"}} envOr "COCKROACH_HOST" "127.0.0.1" }} 34 port: {{"{{"}} envOr "COCKROACH_PORT" "26257" }} 35 user: {{"{{"}} envOr "COCKROACH_USER" "root" }} 36 password: {{"{{"}} envOr "COCKROACH_PASSWORD" "" }} 37 pool: 5 38 options: 39 sslmode: disable 40 #sslrootcert: {{"{{"}} envOr "COCKROACH_SSL_ROOTCERT" "" }} 41 #sslcert: {{"{{"}} envOr "COCKROACH_SSL_CERT" "" }} 42 #sslkey: {{"{{"}} envOr "COCKROACH_SSL_KEY" "" }}