add docker compose file
This commit is contained in:
parent
0135c4edca
commit
6f8233d5e6
18
docker-compose.yml
Normal file
18
docker-compose.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
version: '2'
|
||||||
|
services:
|
||||||
|
cache:
|
||||||
|
image: memcached
|
||||||
|
db:
|
||||||
|
image: mariadb
|
||||||
|
environment:
|
||||||
|
MYSQL_ROOT_PASSWORD: toor
|
||||||
|
MYSQL_DATABASE: wiki
|
||||||
|
web:
|
||||||
|
build: .
|
||||||
|
volumes:
|
||||||
|
- ./data:/var/lib/mediawiki
|
||||||
|
ports:
|
||||||
|
- "8001:80"
|
||||||
|
links:
|
||||||
|
- db
|
||||||
|
- cache
|
Loading…
x
Reference in New Issue
Block a user