-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (47 loc) · 1.03 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
version: '3'
services:
db:
image: mysql:5.7
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: phpbb
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
volumes:
- mysql:/var/lib/mysql
# - /path/to/data/mysql:/var/lib/mysql
adminer:
image: adminer
restart: unless-stopped
ports:
- 8080:8080
depends_on:
- db
phpbb:
build: phpfpm
restart: unless-stopped
volumes:
- ${PHPBB_DIR:-.}/phpbb:/var/www/html
depends_on:
- db
nginx:
build: nginx
restart: unless-stopped
ports:
- 80:80
- 443:443
volumes:
- ${PHPBB_DIR:-.}/phpbb:/var/www/html
# - ${PHPBB_DIR:-.}/.data/letsencrypt/etc:/etc/letsencrypt
depends_on:
- phpbb
# nginx-exporter:
# image: nginx/nginx-prometheus-exporter:0.4.2
# restart: unless-stopped
# ports:
# - 9113:9113
# environment:
# - SCRAPE_URI=http://nginx:81/stub_status
volumes:
mysql: