|
@@ -1,19 +1,24 @@
|
|
|
PKPARSE_URL=
|
|
PKPARSE_URL=
|
|
|
|
|
|
|
|
-# Superuser for postgres. The default is simply 'postgres'. Please change this
|
|
|
|
|
-# to something more unique. Avoid unsafe URL characters (`@`, `:`, # `/`, etc)
|
|
|
|
|
-POSTGRES_USER=postgres
|
|
|
|
|
|
|
+# Default user for postgres. The default is simply 'postgres'. Please change
|
|
|
|
|
+# this to something more unique. Avoid unsafe URL characters (`@`, `:`, # `/`,
|
|
|
|
|
+# etc)
|
|
|
|
|
+POSTGRES_USER=pokemon_trade
|
|
|
|
|
|
|
|
-# Password for postgres. The default is simply 'postgres'. Please change this to
|
|
|
|
|
-# something more unique. Avoid unsafe URL characters (`@`, `:`, # `/`, etc)
|
|
|
|
|
|
|
+# Password for postgres. For docker containers, the default is simply
|
|
|
|
|
+# 'postgres'. Please change this to something more unique. For normal use (not
|
|
|
|
|
+# docker containers), you should specify the same password used when creating a
|
|
|
|
|
+# postgres role. Avoid unsafe URL characters (`@`, `:`, # `/`, etc)
|
|
|
POSTGRES_PASSWORD=postgres
|
|
POSTGRES_PASSWORD=postgres
|
|
|
|
|
|
|
|
-# Name of the database for the containers to use. The default is
|
|
|
|
|
-# `POSTGRES_USER`, or simply `postgres`
|
|
|
|
|
|
|
+# Name of the database to use. For docker containers, the default is
|
|
|
|
|
+# `POSTGRES_USER`, or simply `postgres`.
|
|
|
|
|
+# For normal use (not docker containers), please note that the test database
|
|
|
|
|
+# will be created as `ENV['POSTGRES_DB'] + "_test"`
|
|
|
POSTGRES_DB=pokemon_trade_dev
|
|
POSTGRES_DB=pokemon_trade_dev
|
|
|
|
|
|
|
|
-# Port which Rails is exposed on
|
|
|
|
|
|
|
+# Port which Rails is exposed on, _only used for docker containers_.
|
|
|
WEB_HOST_PORT=3000
|
|
WEB_HOST_PORT=3000
|
|
|
|
|
|
|
|
-# Port which Postgres is exposed on
|
|
|
|
|
|
|
+# Port which Postgres is exposed on, _only used for docker containers_.
|
|
|
DB_HOST_PORT=5432
|
|
DB_HOST_PORT=5432
|