Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (34 sloc) 748 Bytes
version: '3'
services:
web:
build: ./docker-nginx
ports:
- 80:80
- 443:443
depends_on:
- app
volumes:
- ./:/var/www/html
- ./docker-nginx/default.conf:/etc/nginx/conf.d/default.conf
- ./ssl:/etc/nginx/ssl
links:
- app
app:
build: ./docker-php
depends_on:
- db
links:
- db
volumes:
- ./:/var/www/html
db:
image: mysql:5.7.19
volumes:
- ./db/mysql_data:/var/lib/mysql
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: root #
MYSQL_DATABASE: laravel #
MYSQL_USER: db_user #ユーザ名
MYSQL_PASSWORD: password #ユーザ用パスワード
You can’t perform that action at this time.