My advice: If you want to run CartoDB as a multi-container production environment, don't.
CartoDB has a thousand half-documented and undocumented configs. After weeks of digging into the internals, I could see no light at the end of the tunnel. Easily, I have wasted 300 hours on the hope of someday having a manageable, self-hosted CartoDB backend.
- https://github.com/ruralinnovation/multi-svc-cartodb
- https://github.com/chriswhong/docker-cartodb
- https://gist.github.com/arjendk/6080388
- https://github.com/danseely/cartodb-install/blob/master/PRODUCTION-DEPLOY.md
- https://github.com/akvo/akvo-provisioning/tree/develop/docker/cartodb
- https://gist.github.com/javisantana/20466aa5a0c87f0c8b4d
- https://github.com/sverhoeven/docker-cartodb
- https://gist.github.com/sverhoeven/9626127
- https://gist.github.com/ericmagnuson/5853638
- https://github.com/gusmacaulay/CartodbUbuntu
curl --request POST \
--url http://gisbiz.localhost.lan:3000/superadmin/users.json \
--header 'cache-control: no-cache' \
--header 'content-type: application/x-www-form-urlencoded' \
--data 'user%5Bemail%5D=new_user%40example.org&user%5Busername%5D=new_user&user%5Bpassword%5D=mySuperPassword&user%5Borganization_id%5D=07010e2f-caee-4c26-8a03-22d9678d2425&user%5Bprivate_tables_enabled%5D=true'
User options at: https://github.com/CartoDB/cartodb/blob/78aa8dd31474d0b96ff663820f273bd37174f510/app/models/concerns/cartodb_central_synchronizable.rb#L88