Skip to content

jplevyak/docker-rosario

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-rosariosis

A Dockerfile that installs the latest RosarioSIS. This file pulls from the master branch, but can be easily modified to pull from any other available branch or tagged release.

Installation

git clone https://github.com/larryprice/docker-rosario.git
cd docker-rosario
docker build -t rosariosis .

Usage

RosarioSIS uses a Postgres database:

$ docker run --name rosariodb -d postgres:9.4 --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

Port 80 will be exposed, so you can visit localhost to get started. The default username is admin and the default password is admin.

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 resariosis 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

About

A Dockerfile that installs the latest RosarioSIS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 65.2%
  • Shell 34.8%