-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (40 loc) · 926 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
38
39
40
41
42
version: '2'
services:
web:
restart: always
mem_limit: 256m
image: 'httpd-composer-bedrock-sage'
build: 'composerbedrocksage'
ports:
- 80:80
- 443:443
volumes:
- /etc/localtime:/etc/localtime:ro
- ./.env:/root/.env
- ./www:/var/www/html
links:
- mariadb
environment:
SAGE_INSTALL: "${SAGE_INSTALL}"
SAGE_VERSION: "${SAGE_VERSION}"
SAGE_THEME_NAME: "${SAGE_THEME_NAME}"
phpmyadmin:
image: phpmyadmin/phpmyadmin
mem_limit: 256m
ports:
- 8080:80
links:
- mariadb:db
mariadb:
image: mariadb:10.1
restart: always
mem_limit: 512m
expose:
- 3306
volumes:
- ./mysql:/var/lib/mysql
environment:
MYSQL_DATABASE: "${DB_NAME}"
MYSQL_USER: "${DB_USER}"
MYSQL_PASSWORD: "${DB_PASSWORD}"
MYSQL_ROOT_PASSWORD: "${MYSQL_ROOT_PASSWORD}"