date-poll-api/compose.yaml

21 lines
443 B
YAML

services:
date-backend:
build:
dockerfile: ./docker/dev/DockerFile
context: .
volumes:
- './:/var/www/html/date-poll-api'
ports:
- "8000:8000"
date-db:
image: mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=fdsqlrootpassword
- MYSQL_USER=fdsqluser
- MYSQL_PASSWORD=fdsqlpassword
- MYSQL_DATABASE=framadate_api
restart: always
ports:
- "3307:3306"