-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (57 loc) · 1.31 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
version: '3.1'
services:
haproxy:
image: haproxy:2.7.8-bullseye
ports:
- 80:80
- 443:443
- 1936:1936
volumes:
- ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg
- ./ssl:/usr/local/etc/haproxy/certs
memcached:
image: memcached:1.6-alpine
lists:
image: nginx:1.24.0-alpine
env_file:
- lists.env
volumes:
- ./templates/lists:/etc/nginx/templates
- ./ovr_lists:/var/www/html
php8.1:
build: ./php8.1
env_file:
- lists.env
volumes:
- ./ovr_lists:/var/www/html
web:
build: ./nginx
env_file:
- nginx.env
- wordpress.env
volumes:
- ./templates/nginx:/etc/nginx/templates
- wordpress:/var/www/html
- ./ovrride/wp-content:/var/www/html/wp-content
wordpress:
build: ./ovr-wordpress
restart: always
env_file:
- ./wordpress.env
volumes:
- wordpress:/var/www/html
- ./ovrride/wp-content:/var/www/html/wp-content
db:
image: mysql:8.0.33
restart: always
env_file:
- nginx.env
- wordpress.env
command: mysqld --sql_mode=""
volumes:
- db:/var/lib/mysql
- ./sql/ovrride-current.sql.gz:/docker-entrypoint-initdb.d/01-ovrride.sql.gz
- ./sql/dev.sql:/docker-entrypoint-initdb.d/02-dev.sql
volumes:
wordpress:
db: