17 lines
308 B
YAML
17 lines
308 B
YAML
version: '3.9'
|
|
|
|
services:
|
|
database:
|
|
image: mariadb:latest
|
|
environment:
|
|
ROOT_MYSQL_PASSWORD: password
|
|
MYSQL_USER: user
|
|
MYSQL_PASSWORD: password
|
|
MYSQL_DATABASE: slovocast
|
|
ports:
|
|
- "3306:3306"
|
|
volumes:
|
|
- slovocast_db:/var/lib/mysql
|
|
volumes:
|
|
slovocast_db:
|