-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
73 lines (68 loc) · 1.46 KB
/
docker-compose.yml
File metadata and controls
73 lines (68 loc) · 1.46 KB
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
version: "3.8"
services:
reverse-proxy:
depends_on:
- blog
restart: unless-stopped
build:
context: .
dockerfile: Dockerfile_reverse-proxy
ports:
- target: 80
published: 80
protocol: tcp
mode: host
volumes:
- wordpress:/var/www/html
- wiki:/var/www/wiki
masters:
build:
context: .
dockerfile: Dockerfile_masters
expose:
- "3000"
ports:
- "8001:3000"
# volumes:
# - .:/cadre:cached
db_blog:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: somewordpresspassword
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
command: '--default-authentication-plugin=mysql_native_password'
blog:
depends_on:
- db_blog
image: wordpress:5.5.3-php7.2-fpm
expose:
- "9000"
restart: unless-stopped
environment:
WORDPRESS_DB_HOST: db_blog:3306
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
WORDPRESS_DB_NAME: wordpress
volumes:
- wordpress:/var/www/html
wiki:
image: mediawiki:1.35.0
restart: always
ports:
- 9080:80
volumes:
- wiki:/var/www/html/images
- ./LocalSettings.php:/var/www/html/mw-config/LocalSettings.php
farmos:
image: farmos/farmos:7.x-1.6
expose:
- "80"
volumes:
db_data:
wordpress:
wiki: