-
-
Save argentinaluiz/6ab98dc03c204a59a5ea6ee018550ee5 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
version: '2' | |
services: | |
db: | |
image: mysql:5.7 | |
volumes: | |
- "./db:/var/lib/mysql" | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: root | |
MYSQL_DATABASE: newPanel | |
MYSQL_USER: root | |
MYSQL_PASSWORD: root | |
ports: | |
- "3306:3306" | |
web: | |
volumes: | |
- ./:/app/ | |
depends_on: | |
- db | |
image: webdevops/php-apache | |
links: | |
- db | |
ports: | |
- "80:80" | |
restart: always | |
environment: | |
WEB_DOCUMENT_ROOT: /app/public |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment