mirror of
https://github.com/v2board/v2board.git
synced 2025-06-13 13:17:52 +08:00
update
This commit is contained in:
25
docker-compose.yml.example
Normal file
25
docker-compose.yml.example
Normal file
@ -0,0 +1,25 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mysql
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=123456
|
||||
volumes:
|
||||
- ./docker/mysql:/var/lib/mysql
|
||||
- ./install.sql:/install.sql
|
||||
phpfpm:
|
||||
image: bitnami/php-fpm
|
||||
volumes:
|
||||
- .:/app
|
||||
nginx:
|
||||
image: nginx
|
||||
depends_on:
|
||||
- phpfpm
|
||||
volumes:
|
||||
- .:/app
|
||||
- ./docker/nginx:/etc/nginx/conf.d
|
||||
ports:
|
||||
- 8964:80
|
||||
|
Reference in New Issue
Block a user