forked from openbridge/ob_php-fpm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wordpress.yml
62 lines (62 loc) · 1.12 KB
/
wordpress.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
version: '3.1'
services:
nginx:
image: openbridge/nginx
container_name: nginx
ports:
- 80:80
- 443:443
tty: true
tmpfs:
- /var/cache
volumes:
- db_data:/app
ulimits:
nproc: 65535
nofile:
soft: 49999
hard: 99999
env_file:
- ./env/phpfpm.env
mariadb:
image: mariadb:latest
container_name: mariadb
environment:
MYSQL_ROOT_PASSWORD: wordpress
MYSQL_DATABASE: wordpress
MYSQL_USER: root
MYSQL_PASSWORD: wordpress
tty: true
volumes:
- db_data:/var/lib/mysql
ulimits:
nproc: 65535
nofile:
soft: 49999
hard: 99999
php-fpm:
image: openbridge/ob_php-fpm
container_name: php-fpm
restart: always
depends_on:
- mariadb
env_file:
- ./env/phpfpm.env
ports:
- 9001:9000
tmpfs:
- /var/cache
tty: true
volumes:
- db_data:/app
ulimits:
nproc: 65535
nofile:
soft: 49999
hard: 99999
redis:
image: redis
container_name: redis
restart: always
volumes:
db_data: