-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (29 loc) · 875 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (29 loc) · 875 Bytes
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
version: "2"
services:
mt:
image: movabletype/test:${MT_IMAGE}
hostname: mt_test
ports:
- ${WWW_PORT}:80
- ${SSL_PORT}:443
volumes:
- ${MT_HOME}:/var/www/cgi-bin
- ${MT_HOME}/mt-static:/var/www/html/mt-static
- ./conf/mt/mt-config.cgi:/var/www/cgi-bin/mt-config.cgi
read_only: false
entrypoint: /docker-entrypoint.sh httpd -D FOREGROUND
mysql:
image: ${MYSQL_IMAGE}
environment:
MYSQL_ROOT_PASSWORD: test
MYSQL_USER: mt
MYSQL_PASSWORD: test
MYSQL_DATABASE: mt
TZ: "Asia/Tokyo"
ports:
- ${MYSQL_PORT}:3306
volumes:
- ./conf/mysql/mysqld.cnf:/etc/mysql/mysql.conf.d/mysqld.cnf
tty: true
stdin_open: true
restart: always