forked from fc2blog/blog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
58 lines (56 loc) · 1.65 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
56
57
58
version: '3'
services:
db:
build:
context: docker/mysqld
dockerfile: Dockerfile
container_name: fc2blog-mysql
environment:
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
MYSQL_DATABASE: dev_fc2blog
MYSQL_USER: docker
MYSQL_PASSWORD: docker
volumes:
- ./docker/mysqld/data:/var/lib/mysql
ports:
- 3306:3306
php:
build:
context: docker/apache
dockerfile: Dockerfile
container_name: fc2blog-apache
environment:
FC2_APP_DEBUG: 1
FC2_SQL_DEBUG: 1
FC2_CONFIG_FROM_ENV: 1
FC2_STRICT_ERROR_REPORT: 1
FC2_ERROR_LOG_PATH: "php://stderr"
FC2_APP_LOG_PATH: "php://stderr"
FC2_LOG_LEVEL: 100
FC2_ERROR_ON_DISPLAY: 0
FC2_DB_HOST: "db"
FC2_DB_PORT: "3306"
FC2_DB_USER: "docker"
FC2_DB_PASSWORD: "docker"
FC2_DB_DATABASE: "dev_fc2blog"
FC2_DB_CHARSET: "UTF8MB4"
FC2_DOMAIN: "localhost"
FC2_HTTP_PORT: "8080"
FC2_HTTPS_PORT: "8480"
FC2_DOCUMENT_ROOT_PATH: "/fc2blog/public/"
FC2_SENDMAIL_PATH: "/fc2blog/app/vendor/uzulla/pseudo_sendmail/bin/sendmail -i -t"
FC2_ADMIN_MAIL_ADDRESS: "[email protected]"
FC2_MAILER_CLASS_NAME: 'StdErrOutputMailer'
FC2_EMERGENCY_PASSWORD_RESET_ENABLE: '0'
FC2_MFA_EMAIL: '0'
DEBUG_FORCE_CAPTCHA_KEY: "1234" # デバッグ用にCAPTCHAの値を固定する
# FC2_DEFAULT_BLOG_ID: "testblog2" # experimental single tenant mode.
# FC2_GITHUB_REPO: "/uzulla/fc2blog" # experimental update from unofficial repo
depends_on:
- db
working_dir: "/fc2blog"
volumes:
- .:/fc2blog
ports:
- 8080:80
- 8480:443