-
Notifications
You must be signed in to change notification settings - Fork 24
/
docker-compose.yml
43 lines (40 loc) · 1.01 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
version: "3"
services:
php-fpm:
container_name: "php-fpm"
restart: always
image: php:7.4.33-fpm-alpine
environment:
TZ: "Asia/Shanghai"
# links:
# - "go-cqhttp"
volumes:
- "/www/wwwroot/website:/usr/share/nginx/html"
- "/www/wwwroot/config/www.conf:/usr/local/etc/php-fpm.d/www.conf"
- "/www/wwwroot/config/php.ini:/usr/local/etc/php/php.ini"
nginx:
image: nginx:1.23.3
container_name: "nginx"
restart: always
ports:
- "80:80"
- "443:443"
links:
- "php-fpm"
environment:
TZ: "Asia/Shanghai"
volumes:
- "/www/wwwroot/website:/usr/share/nginx/html"
- "/www/wwwroot/config/default.conf:/etc/nginx/conf.d/default.conf"
# go-cqhttp:
# image: xiwangly/go-cqhttp:arm64
# container_name: "go-cqhttp"
# restart: always
# ports:
# - "5700:5700"
# environment:
# TZ: "Asia/Shanghai"
# volumes:
# - "/www/wwwroot/go-cqhttp:/go-cqhttp"
# stdin_open: true
# tty: true