files.gallary Docker

AI-摘要
RealXC LLM
AI初始化中...
介绍自己 🙈
生成本文简介 👋
推荐相关文章 📖
前往主页 🏠
前往RealXLFD博客
files.gallary Docker
xcfiles.gallary PHP应用的Docker版本
部署:
安装Docker
1
wget -qO- get.docker.com | bash
安装Docker-Compose
1
apt install docker-compose
克隆仓库
1
git clone https://github.com/RealXLFD/files.gallery-docker.git
使用docker-compose部署
1
2cd files.gallery-docker/
docker-compose up -d
配置:
- 修改运行端口:
nano docker-compose.yml1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23version: '3.8'
services:
nginx:
image: library/nginx:1.19-alpine
container_name: "charlie_nginx"
ports:
- 8384:80 # 修改前方的'8384'
user: "0:0"
volumes:
- "./nginx.conf:/etc/nginx/conf.d/default.conf"
- "./app:/var/www/html"
links:
- php
php:
image: "charlie_php"
build: ./php
user: "0:0"
environment:
- PUID=0
- PGID=0
container_name: "charlie_php"
volumes:
- "./app:/var/www/html" - 修改配置文件:
nano ./app/_files/config/config.php具体参考 files.gallary官网配置说明
评论
匿名评论隐私政策
✅ 你无需删除空行,直接评论以获取最佳展示效果





