-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
48 lines (46 loc) · 1.07 KB
/
docker-compose.yaml
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
44
45
46
47
48
services:
wiki:
build:
context: mediawiki
dockerfile: Dockerfile
image: ghcr.io/cthit/mediawiki-gamma:latest
environment:
WIKI_NAME: digITpedia
CLIENT_ID: PLACEHOLDER_ID
CLIENT_SECRET: PLACEHOLDER_SECRET
PROVIDER_URL: https://auth.chalmers.it
WIKI_PATH: /wiki
DB_SERVER: wiki-db
DB_NAME: wiki
DB_USER: wiki
DB_PASSWORD: wiki
DB_PREFIX: ""
SECRET_KEY: dasdasdasd
UPGRADE_KEY: dasd
ROOT_URL: http://localhost:4000
depends_on:
- wiki-db
ports:
- 4001:80
volumes:
- ./images:/var/www/html/images
wiki-proxy:
build:
context: proxy
dockerfile: Dockerfile
environment:
WIKI_DOMAIN: localhost
WIKI_PATH: wiki
WIKI_HOST: wiki
image: cthit/mediawiki-proxy:latest
ports:
- 4000:80
wiki-db:
image: mariadb:10.5
environment:
MYSQL_USER: wiki
MYSQL_DATABASE: wiki
MYSQL_PASSWORD: wiki
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
volumes:
- ./dump.sql:/docker-entrypoint-initdb.d/dump.sql