Created
August 8, 2016 16:16
-
-
Save hernandev/17d4609b6565fca5f025deafd727499c 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
# Mysql 5.7 | |
mysql: | |
image: ambientum/mysql:5.7 | |
container_name: sandbox-mysql | |
volumes: | |
- sandbox-mysql:/var/lib/mysql | |
ports: | |
- "3306:3306" | |
environment: | |
- MYSQL_ROOT_PASSWORD=sandbox | |
- MYSQL_DATABASE=sandbox | |
- MYSQL_USER=sandbox | |
- MYSQL_PASSWORD=sandbox | |
# Redis | |
cache: | |
image: ambientum/redis:3.2 | |
container_name: sandbox-redis | |
ports: | |
- "6379:6379" | |
# PHP (with Caddy) | |
app: | |
image: ambientum/php:7.0-caddy | |
container_name: sandbox-php | |
volumes: | |
- .:/var/www/app | |
ports: | |
- "80:8080" | |
links: | |
- mysql | |
- cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment