Created
July 14, 2019 20:39
-
-
Save kodetop/7abf272f2e9c5ffe2072d1c46bc1d405 to your computer and use it in GitHub Desktop.
Ejemplo de código fuente en GIST
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: | |
mysql: | |
image: mysql:5.6 | |
container_name: kodetop.mysql | |
environment: | |
- MYSQL_DATABASE=kodedb | |
- MYSQL_USER=kodeuser | |
- MYSQL_PASSWORD=******** | |
- MYSQL_ROOT_PASSWORD=******** | |
ports: | |
- "3306:3306" | |
restart: always | |
php: | |
build: ./docker/php | |
container_name: kodetop.http | |
ports: | |
- "80:80" | |
volumes: | |
- ./www:/var/www/html | |
links: | |
- mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment