diff --git a/docs/databases/README.md b/docs/databases/README.md index 8a61b16d2..05658415e 100644 --- a/docs/databases/README.md +++ b/docs/databases/README.md @@ -14,7 +14,7 @@ URL: `bolt:///functions/data/functions.db` Bolt is an embedded database which stores to disk. If you want to use this, be sure you don't lose the data directory by mounting the directory on your host. eg: `docker run -v $PWD/data:/functions/data -e DB_URL=bolt:///functions/data/bolt.db ...` -[More on BoltDB](databases/boltdb.md) +[More on BoltDB](boltdb.md) ## [PostgreSQL](http://www.postgresql.org/) @@ -22,7 +22,7 @@ URL: `postgres://user123:pass456@ec2-117-21-174-214.compute-1.amazonaws.com:6212 Use a PostgreSQL database. If you're using IronFunctions in production, you should probably start here. -[More on Postgres](databases/postgres.md) +[More on Postgres](postgres.md) ## What about database X? diff --git a/docs/databases/postgres.md b/docs/databases/postgres.md index 436afa27f..5d851a586 100644 --- a/docs/databases/postgres.md +++ b/docs/databases/postgres.md @@ -28,7 +28,7 @@ docker run -it --rm --link iron-postgres:postgres postgres \ ### 3. Now let's start IronFunctions connecting to our new postgres instance ``` -docker run --rm --link "iron-postgres:postgres" \ +docker run --rm --privileged --link "iron-postgres:postgres" \ -e "DB_URL=postgres://postgres:ironfunctions@postgres/funcs?sslmode=disable" \ -it -p 8080:8080 iron/functions -``` \ No newline at end of file +```