-
Notifications
You must be signed in to change notification settings - Fork 0
/
stack.yml
106 lines (79 loc) · 1.57 KB
/
stack.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Stack for enterprisemediawiki based on meza
#
version: '3'
services:
# database-meza:
# image: mariadb:10.8
#
# volumes:
# - meza_opt:/opt
#
# restart: always
#
# networks:
# - meza
#
# logging:
# driver: syslog
# options:
# tag: "{{.ID}}/{{.ImageName}}/{{.Name}} - "
#
# environment:
# MYSQL_ROOT_PASSWORD: password
# MYSQL_USER: wiki_app_user
# MYSQL_PASSWORD: password
meza-php-fpm:
image: meza-php-fpm:test
ports:
- "9090:9000"
networks:
- meza
restart: always
volumes:
- www_data:/var/www/html
- meza_opt:/opt
logging:
driver: syslog
options:
tag: "{{.ID}}/{{.ImageName}}/{{.Name}} - "
meza-httpd:
image: meza-httpd:test
depends_on:
- meza-php-fpm
# - meza-database
ports:
- "8080"
- "80"
logging:
driver: syslog
options:
tag: "{{.ID}}/{{.ImageName}}/{{.Name}} - "
restart: always
networks:
- meza
volumes:
- www_data:/var/www/html
- meza_opt:/opt
deploy:
replicas: 3
endpoint_mode: dnsrr
meza-haproxy:
image: meza-haproxy:test
depends_on:
- meza-httpd
ports:
- "80:80"
logging:
driver: syslog
options:
tag: "{{.ID}}/{{.ImageName}}/{{.Name}} - "
restart: always
networks:
- meza
volumes:
meza_opt:
www_data:
networks:
meza:
driver: bridge
# vim: sw=4 ts=2:et: