1 Star 0 Fork 929

lli/wookteam

forked from aipaw/wookteam 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.28 KB
一键复制 编辑 原始数据 按行查看 历史
kuaifan 提交于 2021-02-19 02:12 . no message
version: '3'
services:
php:
hostname: php
build:
context: docker
dockerfile: php.Dockerfile
volumes:
- ./docker/php.conf:/etc/supervisor/conf.d/php.conf
- ./docker/log/supervisor:/var/log/supervisor
- ./docker/php.ini:/usr/local/etc/php/php.ini
- ./:/var/www
environment:
TZ: "Asia/Shanghai"
LANG: "C.UTF-8"
links:
- redis
- mariadb
depends_on:
- redis
- mariadb
restart: unless-stopped
nginx:
image: "nginx:alpine"
ports:
- "${APP_PORT}:80"
- "${APP_PORT_SSL}:443"
volumes:
- ./docker/site.conf:/etc/nginx/conf.d/default.conf
- ./docker:/var/www/docker
- ./public:/var/www/public
links:
- php
depends_on:
- php
restart: unless-stopped
redis:
hostname: redis
image: "redis:alpine"
volumes:
- ./docker/redis:/data
environment:
TZ: "Asia/Shanghai"
restart: unless-stopped
mariadb:
hostname: mariadb
image: "bitnami/mariadb"
volumes:
- ./docker/mariadb:/bitnami/mariadb
environment:
- "MARIADB_ROOT_PASSWORD=${DB_ROOT_PASSWORD}"
- "MARIADB_DATABASE=${DB_DATABASE}"
- "MARIADB_USER=${DB_USERNAME}"
- "MARIADB_PASSWORD=${DB_PASSWORD}"
restart: unless-stopped
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/lli/wookteam.git
git@gitee.com:lli/wookteam.git
lli
wookteam
wookteam
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385