Skip to content

Commit 129efe7

Browse files
committed
Touch up README and add example docker-compose.yml.
1 parent f528cac commit 129efe7

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
[![Build Status](https://travis-ci.org/geerlingguy/php-apache-container.svg?branch=master)](https://travis-ci.org/geerlingguy/php-apache-container) [![](https://images.microbadger.com/badges/image/geerlingguy/php-apache.svg)](https://microbadger.com/images/geerlingguy/php-apache "Get your own image badge on microbadger.com")
44

5-
This project is in it's early stages. _There will be bugs!_ You may be better served using the [official PHP Docker image](https://hub.docker.com/_/php/) if it meets your requirements.
6-
75
This project is composed of three main parts:
86

97
- **Ansible project**: This project is maintained on GitHub: [geerlingguy/php-apache-container](https://github.com/geerlingguy/php-apache-container). Please file issues, support requests, etc. against this GitHub repository.

docker-compose.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
version: "3"
3+
4+
services:
5+
php-apache:
6+
image: geerlingguy/php-apache:latest
7+
container_name: php-apache
8+
ports:
9+
- "80:80"
10+
restart: always
11+
# See 'Custom PHP codebase' for instructions for volumes.
12+
volumes:
13+
- ./web:/var/www/html:rw,delegated
14+
command: ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"]

0 commit comments

Comments
 (0)