Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (23 sloc) 427 Bytes
version: '3'
services:
web:
build: ./docker/web
ports:
- "80:80"
volumes:
- .:/var/www/html
restart: always
depends_on:
- db
db:
image: mysql:5
ports:
- "1234:3306"
volumes:
- ./docker/db/data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: mysql
MYSQL_DATABASE: mysql
MYSQL_USER: mysql
MYSQL_PASSWORD: mysql
You can’t perform that action at this time.