-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
85 lines (80 loc) · 2.36 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
version: '2'
services:
db:
image: mysql:5.7
restart: always
volumes:
- /var/docker-www/data/mysql:/var/lib/mysql
blog:
image: uspgamedev/wordpress
restart: always
links:
- db:mysql
volumes:
- /var/docker-www/config:/host
- /var/docker-www/data/wordpress/wp-content:/var/www/wp-content
- /etc/ssmtp:/etc/ssmtp:ro
environment:
WORDPRESS_DB_HOST: mysql:3306
WORDPRESS_DB_NAME: uspgamedev_wordpress
wiki:
image: mediawiki:1.37
restart: always
links:
- db:mysql
volumes:
- /var/docker-www/config:/host
#- /var/docker-www/data/mediawiki:/var/www-shared/html
- /var/docker-www/data/mediawiki/LocalSettings.php:/var/www/html/LocalSettings.php
- /var/docker-www/data/mediawiki/images:/var/www/html/images
- /etc/ssmtp:/etc/ssmtp:ro
environment:
MEDIAWIKI_DB_HOST: mysql:3306
MEDIAWIKI_DB_NAME: uspgamedev_wiki
bookstack:
image: solidnerd/bookstack:23.2.3
restart: always
depends_on:
- db
links:
- db:mysql
env_file: .env
environment:
DB_HOST: mysql:3306
DB_DATABASE: uspgamedev_bookstack
#set the APP_ to the URL of bookstack without without a trailing slash APP_URL=https://example.com
APP_URL: https://usp.game.dev.br/wiki2
volumes:
- /var/docker-www/bookstack/.env:/var/www/bookstack/.env
- /var/docker-www/bookstack/uploads:/var/www/bookstack/public/uploads
- /var/docker-www/bookstack/storage-uploads:/var/www/bookstack/storage/uploads
ports:
- "8081:8080"
node-exporter:
image: prom/node-exporter:v0.18.0
restart: always
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/rootfs:ro
- /etc/hostname:/etc/nodename
command:
- '--path.sysfs=/host/sys'
- '--path.procfs=/host/proc'
- '--collector.filesystem.ignored-mount-points=^/(sys|proc|dev|host|etc)($$|/)'
- '--no-collector.ipvs'
proxy:
image: uspgamedev/nginx
restart: always
links:
- blog:blog
- wiki:wikia
- node-exporter:node-exporter
volumes:
- /var/docker-www/data/discourse/standalone:/var/discourse
- /var/docker-www/static:/var/www/static:ro
- /etc/letsencrypt:/etc/letsencrypt:ro
- /var/docker-www/acme-challenge:/var/acme-challenge:ro
ports:
- 80:80
- 443:443