forked from ballerupgis/SeMaWi
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
43 lines (42 loc) · 1.1 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
version: '3'
services:
semawi:
build:
context: .
dockerfile: Dockerfile
image: semawi:2017_01
ports:
- "4466:80"
volumes:
- /srv/semawi/LocalSettings.php:/var/www/wiki/LocalSettings.php
- /srv/semawi/php.ini:/etc/php5/apache2/php.ini
- /srv/semawi/images/:/var/www/wiki/images/
- /srv/semawi/nanlogo.png:/var/www/wiki/resources/assets/nanlogo.png
- /srv/semawi/gc2smw.cfg:/opt/gc2/gc2smw.cfg
- /srv/semawi/freetds.conf:/etc/freetds/freetds.conf
- /srv/semawi/odbcinst.ini:/etc/odbcinst.ini
- /srv/semawi/odbc.ini:/etc/odbc.ini
networks:
- wiki_network
container_name: semawi-mediawiki
restart: on-failure
depends_on:
- wikidb
hostname: semawi-mediawiki
wikidb:
image: mysql:5.7
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: wiki
MYSQL_USER: wiki
MYSQL_PASSWORD: wiki
networks:
- wiki_network
container_name: semawi-mysql
hostname: semawi-mysql
restart: on-failure
networks:
wiki_network:
driver: bridge