From aa80cba8e32f03b667aa63b6e9c50993121c3962 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Jacquet?= Date: Wed, 29 Jun 2016 15:52:46 -0500 Subject: [PATCH] UPdate postgres version & format MD code --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aab4497..e27c503 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ docker build -t rosariosis . RosarioSIS uses a PostgreSQL database: ``` bash -$ docker run --name rosariodb -d postgres:9.4 --restart=always +$ docker run --name rosariodb -d postgres:9.5 --restart=always $ docker run -e "ROSARIOSIS_ADMIN_EMAIL=admin@example.com" -h `hostname -f` -d -p 80:80 --name rosariosis --link rosariodb:rosariodb rosariosis --restart=always ``` @@ -24,7 +24,9 @@ Port 80 will be exposed, so you can visit `localhost` to get started. The defaul ## SMTP -RosarioSIS will attempt to send mail via the host's port 25. In order for this to work you must set the hostname of the rosariosis container to that of host (or some other hostname that your can appear on a legal FROM line) and configure the host to accept SMTP from the container. For postfix this means adding the container IP addresses to /etc/postfix/main.cf as in: +RosarioSIS will attempt to send mail via the host's port 25. In order for this to work you must set the hostname of the rosariosis container to that of `host` (or some other hostname that your can appear on a legal `FROM` line) and configure the host to accept SMTP from the container. For postfix this means adding the container IP addresses to `/etc/postfix/main.cf` as in: +``` mynetworks = 192.168.0.0/16 172.16.0.0/12 10.0.0.0/8 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 +```