Fixes link for databases readme (#463)

* Fixes link for databases readme

* Adds privileged flag for containerd rights
This commit is contained in:
John Nguyen
2016-12-30 03:25:39 +08:00
committed by C Cirello
parent e3c85d3e7e
commit 0c3f527513
2 changed files with 4 additions and 4 deletions

View File

@@ -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?

View File

@@ -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
```