]> git.openstreetmap.org Git - rails.git/blobdiff - config/docker.database.yml
Introduce docker-compose config for development
[rails.git] / config / docker.database.yml
diff --git a/config/docker.database.yml b/config/docker.database.yml
new file mode 100644 (file)
index 0000000..6e6e5fd
--- /dev/null
@@ -0,0 +1,20 @@
+# This configuration is tailored for use with docker-compose. See DOCKER.md for more information.
+
+development:
+  adapter: postgresql
+  database: openstreetmap
+  username: openstreetmap
+  password: openstreetmap
+  host: db
+  encoding: utf8
+
+# Warning: The database defined as 'test' will be erased and
+# re-generated from your development database when you run 'rake'.
+# Do not set this db to the same as development or production.
+test:
+  adapter: postgresql
+  database: osm_test
+  username: postgres
+  password:
+  host: db
+  encoding: utf8