Skip to content

Commit

Permalink
Corrected permissions of concrete and updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Satheeshkumar Manoharan committed Feb 2, 2016
1 parent aa91b23 commit 8f31d58
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,20 @@ $ docker-compose up

# If there is any changes made, we can just restart the web service to update from github
$ docker-compose restart web


# Installation of Concrete5

1. The above instructions will create a fresh installation of MariaDB and will have concrete binaries and necessary libraries hosted on apache. We can start the concrete installation now

2. Access the URL using http://{hostname}:8080/concrete/ if using public endpoint. Otherwise use http://{docker-web-ip}/concrete/ and see the installation home page of concrete.

3. Select language, and provide necessary details like CMS admin password, and the DB details. Since MariaDB is running on non standard port, the details are below:
DB hostname : {docker-db-ip};port=3305
DB username : concrete
DB password : concrete
DB name : cms

4. Click next with these details, and the CMS is ready now to create new content

Note: docker-web-ip and docker-db-ip are ip address of individual container. This assumes that we host both containers in same VM and is reachable using container's private IP address
2 changes: 1 addition & 1 deletion apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN echo 'safe_mode = Off' > /etc/php5/apache2/conf.d/safe.ini
# Copy site into place.
#ADD ./concrete/ /var/www/html
ADD ./concrete5.7.5.5.zip /var/www/html/
RUN unzip /var/www/html/concrete5.7.5.5.zip -d /var/www/html && rm /var/www/html/concrete5.7.5.5.zip && mv /var/www/html/concrete5.7.5.5 /var/www/html/concrete
RUN unzip /var/www/html/concrete5.7.5.5.zip -d /var/www/html && rm /var/www/html/concrete5.7.5.5.zip && mv /var/www/html/concrete5.7.5.5 /var/www/html/concrete && chown -R www-data:www-data /var/www/html/concrete
ADD ./index.php /var/www/html/

# Update the default apache site with the config we created.
Expand Down

0 comments on commit 8f31d58

Please sign in to comment.