Docker container for siwapp sf1
Dockerfile to build a siwapp container image.
Warning! It uses non-official siwapp branch (fork) darneta/siwapp-sf1 due to easy setup support and various modifications.
Current Version: 0.4.2
Pull the image from the docker index.
docker pull darneta/siwapp-sf1:latest
Step 1. Launch a mysql container
docker run --name=mysql-siwapp -d \
--env='DB_NAME=siwapp' \
--env='DB_USER=siwapp' --env='DB_PASS=password' \
--volume=/srv/docker/siwapp/mysql:/var/lib/mysql \
sameersbn/mysql:latest
Step 2. Launch a postfix container
docker run -d --name siwapp-postfix \
--env="maildomain=your_domain.com" \
--env="smtp_user=siwapp:siwapp" \
catatnight/postfix
Step 3. Launch a siwapp container
docker run --name=siwapp -d \
--link=mysql-siwapp:mysql \
--link=siwapp-postfix:postfix \
--env="SMTP_USER=siwapp" \
--env="SMTP_PASS=siwapp" \
--env="SMTP_HOST=postfix" \
--env="SMTP_PORT=25" \
--publish=10080:80 \
darneta/siwapp-sf1
Step 4. Install siwapp (if not already installed)
Point your browser to http://localhost:10080
and complete the installation. Database prameters will be set from mysql container so just click next.
- DB_HOST: The database server hostname.
- DB_PORT: The database server port.
- DB_NAME: The database name.
- DB_USER: The database user.
- DB_PASS: The database password.
- SMTP_USER: The SMTP user.
- SMTP_PASS: The SMTP pass.
- SMTP_HOST: The SMTP host.
- SMTP_PORT: The SMTP port.