slovocast/docker-compose.yml

24 lines
446 B
YAML
Raw Normal View History

2024-02-16 23:19:58 +00:00
version: '3.9'
services:
database:
image: mariadb:latest
2024-02-16 23:19:58 +00:00
environment:
2024-06-18 01:30:28 +00:00
MARIADB_DATABASE: "slovocast"
MARIADB_USER: "slovocast"
MARIADB_PASSWORD: "Password01"
MARIADB_ROOT_PASSWORD: "Password01"
2024-02-16 23:19:58 +00:00
ports:
2024-06-18 01:30:28 +00:00
- "3306:3306"
2024-02-16 23:19:58 +00:00
volumes:
2024-06-18 01:30:28 +00:00
- slovocast_db:/var/lib/mysql/data/
app:
build:
context: .
dockerfile: deploy/php/Dockerfile
ports:
- "8000:8000"
2024-02-16 23:19:58 +00:00
volumes:
slovocast_db: