2024-11-06 03:10:42 +00:00
|
|
|
version: '3.8'
|
|
|
|
services:
|
|
|
|
php:
|
|
|
|
build:
|
|
|
|
dockerfile: 'dev/php/Dockerfile'
|
|
|
|
volumes:
|
|
|
|
- './app:/var/www/slovocast'
|
|
|
|
depends_on:
|
|
|
|
- mariadb
|
2024-11-07 02:34:59 +00:00
|
|
|
links:
|
|
|
|
- mariadb
|
2024-11-08 17:40:46 +00:00
|
|
|
cli:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: 'dev/php/Dockerfile'
|
|
|
|
volumes:
|
|
|
|
- './app:/var/www/slovocast'
|
2024-11-22 03:24:33 +00:00
|
|
|
user: "${UID}:${GID}"
|
2024-11-08 17:40:46 +00:00
|
|
|
entrypoint: [ "bash", "-c" ]
|
|
|
|
profiles:
|
|
|
|
- noboot
|
2024-11-06 03:10:42 +00:00
|
|
|
nginx:
|
|
|
|
image: nginx:latest
|
|
|
|
volumes:
|
|
|
|
- './app:/var/www/slovocast'
|
|
|
|
- './dev/nginx:/etc/nginx/conf.d'
|
|
|
|
ports:
|
|
|
|
- "8080:80"
|
|
|
|
depends_on:
|
|
|
|
- php
|
|
|
|
mariadb:
|
|
|
|
image: mariadb:10.9
|
|
|
|
environment:
|
2024-11-07 02:34:59 +00:00
|
|
|
MARIADB_ROOT_PASSWORD: password
|
|
|
|
MARIADB_DATABASE: slovocast
|
|
|
|
MARIADB_USER: slovocast
|
|
|
|
MARIADB_PASSWORD: password
|
2024-11-06 03:10:42 +00:00
|
|
|
volumes:
|
|
|
|
- "slovocast_data:/var/lib/mysql"
|
2024-11-07 02:34:59 +00:00
|
|
|
ports:
|
|
|
|
- "3306:3306"
|
2024-11-06 03:10:42 +00:00
|
|
|
volumes:
|
|
|
|
slovocast_data:
|