-
-
Save giggsey/bc7f271facf373cf0ffa82d9bbac3d66 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myproject-php: | |
build: . | |
container_name: myproject-php | |
dockerfile: tests/bootstrap/docker/php/Dockerfile | |
links: | |
- myproject-memcached | |
- myproject-mysql | |
myproject-mysql: | |
image: mysql:5.6 | |
container_name: myproject-mysql | |
volumes: | |
- /var/lib/mysql | |
environment: | |
- MYSQL_ROOT_PASSWORD=root | |
- MYSQL_DATABASE=dbname | |
- MYSQL_USER=root | |
- MYSQL_PASSWORD=root | |
myproject-memcached: | |
image: memcached:alpine | |
container_name: myproject-memcached |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM giggsey/docker-php7:latest | |
MAINTAINER Joshua Gigg <giggsey@gmail.com> | |
RUN docker-php-ext-enable memcache xdebug mysqli pdo_mysql | |
CMD ["php", "-a"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment