slovocast/docker-compose.yml

23 lines
432 B
YAML

version: '3.9'
services:
database:
image: mariadb:latest
environment:
MARIADB_DATABASE: "slovocast"
MARIADB_USER: "slovocast"
MARIADB_PASSWORD: "Password01"
MARIADB_ROOT_PASSWORD: "Password01"
ports:
- "3306:3306"
volumes:
- slovocast_db:/var/lib/mysql/data/
app:
build:
dockerfile: ./deploy/php/Dockerfile
volumes:
- ./app:/app
volumes:
slovocast_db: