d43bc898 by Yokihito Oki

joomla!の検証用テンプレ作成

0 parents
1 app
2 data
...\ No newline at end of file ...\ No newline at end of file
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
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
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!