forked from frederiksberg/SeMaWi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
43 lines (42 loc) · 1.13 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:2021_03
ports:
- "80:80"
- "443:443"
volumes:
- /srv/semawi/certs/:/etc/ssl/wiki
- /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/iotwiki_logo.png:/var/www/wiki/resources/assets/iotwiki_logo.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
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