Docker with OpenACH, running Apache, mod_php, and SQLite
This repository contains Dockerfile of OpenACH for Docker's automated build published to the public Docker Hub Registry.
-
Install Docker.
-
Download automated build from public Docker Hub Registry:
docker pull openach/openach
Clone this repository:
git clone https://github.com/openach/docker-openach.git
cd docker-openach
If you want to change any of the Apache settings and/or set up your own SSL certificate, feel free to update the config files under setup.d/etc/apache2/ and setup/etc/ssl/, respectively.
And then build it:
sudo docker build -t <yourname>/openach .
This can take a while but should eventually return a command prompt. It's done when it says "Successfully built {hash}"
docker run -d -p 80:80 -p 443:443 openach/openach
docker run -p 80:80 -p 443:443 -d <yourname>/openach
docker exec -it <YOUR_CONTAINER_ID_OR_NAME> /bin/bash
Note that you will want to use the CLI to set up a user account before you go much further. See the OpenACH CLI Documentation for more information.
Open your web browser and point to http://localhost/
The API would then be located at: http://localhost/api/