Created
May 25, 2020 15:29
-
-
Save Mattia541993/d338a8b06029dec092e06d110a44f27b 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: '3' | |
services: | |
database: | |
image: mysql:5.7 | |
environment: | |
MYSQL_ROOT_PASSWORD: 123 | |
MYSQL_DATABASE: stt_db | |
MYSQL_USER: devuser | |
MYSQL_PASSWORD: 123 | |
ports: | |
- "9906:3306" | |
web: | |
build: . | |
container_name: php_web | |
depends_on: | |
- database | |
volumes: | |
- ./local/:/var/www/html/ | |
ports: | |
- "8100:80" | |
stdin_open: true | |
tty: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment