25 lines
426 B
YAML
Executable File
25 lines
426 B
YAML
Executable File
version: '3.8'
|
|
|
|
services:
|
|
web:
|
|
build:
|
|
context: ./
|
|
dockerfile: Dockerfile.dev
|
|
ports:
|
|
- 8080:80
|
|
- 8443:443
|
|
volumes:
|
|
- .:/var/www/html
|
|
- ./srv:/srv
|
|
db:
|
|
image: mysql:5.5
|
|
ports:
|
|
- "3306:3306"
|
|
expose:
|
|
- "3306"
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: development-password
|
|
MYSQL_DATABASE: forge
|
|
MYSQL_USER: forge
|
|
MYSQL_PASSWORD: secret
|