Last active
July 13, 2017 07:24
-
-
Save k2levin/5a6d49e08bf8f12ce6e79d1ae4693d54 to your computer and use it in GitHub Desktop.
Docker compose for Jenkins
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
| version: "3" | |
| services: | |
| db: | |
| image: mysql:5.7 | |
| environment: | |
| - MYSQL_ALLOW_EMPTY_PASSWORD=yes | |
| - MYSQL_DATABASE=laravel | |
| networks: | |
| - db-network | |
| redis: | |
| image: redis:alpine | |
| networks: | |
| - redis-network | |
| php: | |
| image: k2levin/php-laravel:latest | |
| volumes: | |
| - "$PWD/:/var/www/app/laravel/" | |
| depends_on: | |
| - db | |
| - redis | |
| networks: | |
| - redis-network | |
| - db-network | |
| networks: | |
| db-network: | |
| redis-network: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment