lib/natra/generators/app/templates/secrets.env in natra-0.0.1 vs lib/natra/generators/app/templates/secrets.env in natra-0.0.2
- old
+ new
@@ -1,16 +1,9 @@
SINATRA_ENV=development
LOG_LEVEL=Logger::INFO
-<%- unless skip_db? -%>
+<%- if @database=='postgres' -%>
DATABASE_URL=postgresql://docker:docker@db:5432/<%= @name.camel_case %>?pool=5
POSTGRES_USER=docker
POSTGRES_PASSWORD=docker
POSTGRES_DB=<%= @name.camel_case %>
<%- end -%>
-<%- if message_producers? -%>
-RABBITMQ_DEFAULT_PASS=admin
-RABBITMQ_DEFAULT_USER=admin
-RABBITMQ_URL=amqp://admin:admin@broker:5672
-RABBITMQ_DEFAULT_VHOST=vhost
-RABBITMQ_LOGGER_LEVEL=Logger::INFO
-RABBITMQ_DEFAULT_EXCHANGE=<%= @name.camel_case %>
-<%- end -%>
+