Created
May 25, 2020 15:27
-
-
Save Mattia541993/d0ebc1fa732d5649886a7521b99501bc 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