forked from microweber/microweber
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (37 loc) · 1009 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: '3'
services:
# composer_installation:
# container_name: composer_installation
# image: composer
# volumes:
# - ./:/app
# command: composer install
php-apache:
image: thecodingmachine/php:8.1-v4-apache-node16
ports:
- 80:80
volumes:
- ./:/var/www/html
links:
- 'mariadb'
environment:
APACHE_EXTENSION_DAV: 0
PHP_INI_MEMORY_LIMIT: 1g
PHP_INI_ERROR_REPORTING: E_ALL
PHP_EXTENSIONS: pgsql gettext imap sockets zip curl dom gd exif intl mbstring bcmath curl dom opcache mbstring soap xml xmlrpc fileinfo intl xml pdo_sqlite pdo_mysql pdo_pgsql
PECL_EXTENSION: sodium
STARTUP_COMMAND_1: composer install
mariadb:
image: mariadb:10.3
volumes:
- mariadb:/var/lib/mysql
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "no"
MYSQL_ROOT_PASSWORD: "root"
MYSQL_USER: 'laravel'
MYSQL_PASSWORD: 'laravel'
MYSQL_DATABASE: 'laravel'
ports:
- 3306:3306
volumes:
mariadb: