forked from cdevroe/unmark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (53 loc) · 1.12 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
##
## Docker Containers
## This creates containers running mySQL and WordPress
## for running Unmark.
##
## Written by Colin Devroe cdevroe.com
##
## Version 1.0 Build 001
##
version: '3.3'
services:
apache:
container_name: unmark_apache
build:
context: ./
image: php:5.6-apache
hostname: apache
ports:
- "80:80"
volumes:
- ./:/var/www/html
- ./docker-configs/php-custom.ini:/usr/local/etc/php/conf.d/custom.ini
depends_on:
- mysql
links:
- mysql
mysql:
container_name: unmark_mysql
image: mysql:5.7
hostname: mysql
command: --sql_mode=''
ports:
- "3306:3306"
volumes:
- unmark_db_volume:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: unmarkrootmysqlpass
MYSQL_DATABASE: unmark
MYSQL_USER: unmarkuser
MYSQL_PASSWORD: unmarkpass
phpmyadmin:
container_name: unmark_phpmyadmin
image: phpmyadmin/phpmyadmin
links:
- mysql:db
ports:
- "8082:80"
environment:
- PMA_USER=unmarkuser
- PMA_PASSWORD=unmarkpass
- PHP_UPLOAD_MAX_FILESIZE=100MB
volumes:
unmark_db_volume: