Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit 2e90dc8

Browse files
committed
Fix URLs to correct branch.
1 parent 17580e2 commit 2e90dc8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Apache (mod_fcgid) loads only a minimal set of modules by default. Supports cust
77

88
## Overview & links
99

10-
The [Dockerfile](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/master/Dockerfile) can be used to build a base image that can be run as-is or used as the bases for other more specific builds.
10+
The [Dockerfile](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/centos-6/Dockerfile) can be used to build a base image that can be run as-is or used as the bases for other more specific builds.
1111

1212
Included in the build is the EPEL repository and SSH, vi, elinks (for fullstatus support), APC, Memcache and Composer are installed along with python-pip, supervisor and supervisor-stdout.
1313

1414
[Supervisor](http://supervisord.org/) is used to start httpd (and optionally the sshd) daemon when a docker container based on this image is run. To enable simple viewing of stdout for the sshd subprocess, supervisor-stdout is included. This allows you to see output from the supervisord controlled subprocesses with `docker logs <docker-container-name>`.
1515

16-
SSH is not required in order to access a terminal for the running container the prefered method is to use Command Keys and the nsenter command. See [command-keys.md](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/master/command-keys.md) for details on how to set this up.
16+
SSH is not required in order to access a terminal for the running container the prefered method is to use Command Keys and the nsenter command. See [command-keys.md](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/centos-6/command-keys.md) for details on how to set this up.
1717

1818
If enabling and configuring SSH access, it is by public key authentication and, by default, the [Vagrant](http://www.vagrantup.com/) [insecure private key](https://github.com/mitchellh/vagrant/blob/master/keys/vagrant) is required.
1919

@@ -37,15 +37,15 @@ $ docker run -d \
3737

3838
Now point your browser to ```http://<docker-host>:8080``` where "```<docker-host>```" is the host name of your docker server and, if all went well, you should see the "Hello, world!" page.
3939

40-
![Hello World Screen Shot](https://raw.github.com/jdeathe/centos-ssh-apache-php-fcgi/master/images/hello-world.png)
40+
![Hello World Screen Shot](https://raw.github.com/jdeathe/centos-ssh-apache-php-fcgi/centos-6/images/hello-world.png)
4141

4242
## Instructions
4343

4444
### (Optional) Configuration Data Volume
4545

4646
Create a "data volume" for configuration, this allows you to share the same configuration between multiple docker containers and, by mounting a host directory into the data volume you can override the default configuration files provided.
4747

48-
Make a directory on the docker host for storing container configuration files. This directory needs to contain everything from the directory [etc/services-config](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/master/etc/services-config)
48+
Make a directory on the docker host for storing container configuration files. This directory needs to contain everything from the directory [etc/services-config](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/centos-6/etc/services-config)
4949

5050
```
5151
$ mkdir -p /etc/services-config/apache-php.app-1.1.1
@@ -67,7 +67,7 @@ $ docker run \
6767

6868
### Running
6969

70-
To run the a docker container from this image you can use the included [run.sh](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/master/run.sh) and [run.conf](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/master/run.conf) scripts. The helper script will stop any running container of the same name, remove it and run a new daemonised container on an unspecified host port. Alternatively you can use the following.
70+
To run the a docker container from this image you can use the included [run.sh](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/centos-6/run.sh) and [run.conf](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/centos-6/run.conf) scripts. The helper script will stop any running container of the same name, remove it and run a new daemonised container on an unspecified host port. Alternatively you can use the following.
7171

7272
```
7373
$ docker stop apache-php.app-1.1.1 && \
@@ -140,7 +140,7 @@ To set the timezone for the UK and account for British Summer Time you would use
140140

141141
If using the optional data volume for container configuration you are able to customise the configuration. In the following examples your custom docker configuration files should be located on the Docker host under the directory ```/etc/service-config/<container-name>/``` where ```<container-name>``` should match the applicable container name such as "apache-php.app-1.1.1" in the examples.
142142

143-
#### [httpd/apache-bootstrap.conf](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/master/etc/services-config/httpd/apache-bootstrap.conf)
143+
#### [httpd/apache-bootstrap.conf](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/centos-6/etc/services-config/httpd/apache-bootstrap.conf)
144144

145145
The bootstrap script initialises the app. It sets up the Apache service user + group, generates passwords, enables Apache modules and adds/removes SSL support.
146146

@@ -179,7 +179,7 @@ APACHE_LOAD_MODULES="
179179

180180
By default SSL support is disabled but a second port, (mapped to 8443), is available for traffic that has been been through upstream SSL termination (SSL Offloading). If you want the container to support SSL directly then set ```APACHE_MOD_SSL_ENABLED=true``` this will then generate a self signed certificate and will update Apache to accept traffic on port 443.
181181

182-
*Note:* The included helper script [run.sh](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/master/run.sh) will automatically map the docker host port 8580 to 443 but if you are running docker manually can use the following.
182+
*Note:* The included helper script [run.sh](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/centos-6/run.sh) will automatically map the docker host port 8580 to 443 but if you are running docker manually can use the following.
183183

184184
```
185185
$ docker stop apache-php.app-1.1.1 && \
@@ -219,7 +219,7 @@ To override the SSLCertificateKeyFile add it to your config directory using the
219219

220220
*Note:* You must also specify the associated SSLCertificateFile in this case.
221221

222-
#### [supervisor/supervisord.conf](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/master/etc/services-config/supervisor/supervisord.conf)
222+
#### [supervisor/supervisord.conf](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/centos-6/etc/services-config/supervisor/supervisord.conf)
223223

224224
The supervisor service's configuration can also be overriden by editing the custom supervisord.conf file. It shouldn't be necessary to change the existing configuration here but you could include more [program:x] sections to run additional commands at startup.
225225

0 commit comments

Comments
 (0)