Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- web:
- image: hitalos/laravel:latest
- ports:
- - 80:80
- volumes:
- - ./:/var/www
- # If you don't want to use default 'artisan serve' command, edit and uncomment the line below.
- command: php -S 0.0.0.0:80 -t public public/index.php
- links:
- - db
- environment:
- DB_HOST: db
- DB_DATABASE: testneticdb
- DB_USERNAME: root
- DB_PASSWORD: testnetic
- DB_CONNECTION: mysql
- db:
- image: mysql:5.7
- environment:
- # with mysql
- MYSQL_DATABASE: testneticdb
- MYSQL_USER: testnetic
- MYSQL_PASSWORD: testnetic
- MYSQL_ROOT_PASSWORD: testnetic
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement