24 lines
446 B
YAML
24 lines
446 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:
|
|
content: .
|
|
dockerfile: deploy/php/Dockerfile
|
|
ports:
|
|
- "8000:8000"
|
|
|
|
volumes:
|
|
slovocast_db:
|