Skip to content

Commit

Permalink
added Dockerfile and documentation for dockerized install of cerc-web
Browse files Browse the repository at this point in the history
  • Loading branch information
krueschan committed Feb 22, 2019
1 parent ed43f91 commit 9ce88c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
rev 577 (2019-02-22) (krueschan)
rev 577-578 (2019-02-22) (krueschan)
- added Dockerfile and documentation for dockerized install of cerc-web

rev 574-576 (2019-02-21) (krueschan)
Expand Down
6 changes: 4 additions & 2 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ This directory contains the Dockerfile used to generate a fully self-contained D

# Usage
1. Obtain Docker for your operating system from https://www.docker.com/
2. If you use Docker Desktop, you can pull the docker image (climateequityreferenceproject/cerc-web) directly from within Docker Desktop otherwise run on your command line: `docker pull climateequityreferenceproject/cerc-web`.
3. To start the image from the commandline, type `docker run -i -t -d --name cerc-web -p 80:80 krueschan/cerc-web:latest` (if applicable, replace 'latest' with the specific release you're using, for example "version-3.2.1")
* If you use Docker Desktop, you can pull the docker image (climateequityreferenceproject/cerc-web) directly from within Docker Desktop otherwise run on your command line: `docker pull climateequityreferenceproject/cerc-web`.
* Alternatively, you can use the Dockerfile contained in this folder to automatically build the image yourself from source (only the Dockerfile is needed, everything else will be pulled from various sources as needed). Run `docker build -t climateequityreferenceproject/cerc-web .` from the command line within the directory where the Dockerfile is located.
* To start the image from the commandline, type `docker run -i -t -d --name cerc-web -p 80:80 climateequityreferenceproject/cerc-web:latest` (if applicable, replace 'latest' with the specific release you're using, for example "version-3.2.1")


# Finally
This directory also contains install scripts that can be used to automatically install cerc-web into a devilbox Docker container (http://devilbox.org) or into a standard LEMP stack, such as https://hub.docker.com/r/tonisormisson/dev-lemp
Expand Down

0 comments on commit 9ce88c8

Please sign in to comment.