done for real
This commit is contained in:
parent
afcfd8613c
commit
ab77542d38
17
README.md
Normal file
17
README.md
Normal file
@ -0,0 +1,17 @@
|
||||
## Starting the project
|
||||
|
||||
Everything is packaged via Docker Compose. Just build the images and run them.
|
||||
|
||||
```bash
|
||||
docker-compose build
|
||||
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
By default the load balancer is bound to the local machine's 8080 port. Sending a web request via any browser (or cURL) should return the id of the serving container.
|
||||
|
||||
```bash
|
||||
curl http://127.0.0.1:8080/
|
||||
```
|
@ -1,5 +1,5 @@
|
||||
FROM httpd:2.4.52
|
||||
|
||||
COPY script.sh /usr/local/apache2/cgi-bin/
|
||||
COPY --chown=www-data:www-data script.sh /usr/local/apache2/cgi-bin/
|
||||
|
||||
COPY httpd.conf /usr/local/apache2/conf/
|
||||
|
Loading…
Reference in New Issue
Block a user