Created
May 3, 2018 13:35
-
-
Save cristianorsolin/ea45131ffd85ebfd3b76118a50393787 to your computer and use it in GitHub Desktop.
docker compose lamp stack
This file contains hidden or 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
web: | |
image: orsolin/amazonlinux-apache-php | |
ports: | |
- "80:80" | |
links: | |
- db | |
- mailcatcher | |
volumes: | |
- .:/app | |
environment: | |
#- PHP_XDEBUG_ENABLED=true | |
- HOST_UID=1000 | |
db: | |
image: mysql:5.6 | |
ports: | |
- "3306:3306" | |
environment: | |
- MYSQL_ALLOW_EMPTY_PASSWORD=yes | |
- MYSQL_ROOT_PASSWORD= | |
mailcatcher: | |
image: jeanberu/mailcatcher | |
ports: | |
- "1080:1080" | |
- "1025:1025" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment