joomla!の検証用テンプレ作成
0 parents
Showing
3 changed files
with
51 additions
and
0 deletions
.gitignore
0 → 100644
README.md
0 → 100644
1 | # Joomla! | ||
2 | ## 概要 | ||
3 | joomla!で色々検証する用のテンプレ | ||
4 | |||
5 | ## 起動 | ||
6 | ``` | ||
7 | # フォアグラウンド起動 | ||
8 | $ docker-compose up | ||
9 | |||
10 | # バックグラウンド起動 | ||
11 | $ docker-compose up -d | ||
12 | ``` | ||
13 | |||
14 | ## 停止 | ||
15 | ``` | ||
16 | # フォアグラウンド停止 | ||
17 | Control + c | ||
18 | |||
19 | # バックグラウンド停止 | ||
20 | $ docker-compose down | ||
21 | ``` | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
docker-compose.yml
0 → 100644
1 | version: '3.1' | ||
2 | |||
3 | services: | ||
4 | joomla: | ||
5 | image: joomla:3.9.14 | ||
6 | restart: always | ||
7 | links: | ||
8 | - joomladb:mysql | ||
9 | ports: | ||
10 | - 8888:80 | ||
11 | volumes: | ||
12 | - "./app/:/var/www/html" | ||
13 | environment: | ||
14 | JOOMLA_DB_HOST: joomladb | ||
15 | JOOMLA_DB_PASSWORD: example | ||
16 | |||
17 | joomladb: | ||
18 | image: mariadb:10.4.11 | ||
19 | ports: | ||
20 | - 3306:3306 | ||
21 | volumes: | ||
22 | - ./data:/var/lib/mysql | ||
23 | restart: always | ||
24 | environment: | ||
25 | MYSQL_ROOT_PASSWORD: example | ||
26 | command: | ||
27 | - "--character-set-server=utf8" | ||
28 | - "--collation-server=utf8_unicode_ci" | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or sign in to post a comment