1 Star 0 Fork 936

royalice/wookteam

forked from aipaw/wookteam 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.58 KB
一键复制 编辑 原始数据 按行查看 历史
kuaifan 提交于 2021-09-07 13:22 . php 8.0
version: '3'
services:
php:
hostname: php
container_name: "wooktask-php-${DOCKER_ID}"
image: "kuaifan/wookteam:8.0"
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:
container_name: "wooktask-nginx-${DOCKER_ID}"
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
environment:
TZ: "Asia/Shanghai"
links:
- php
depends_on:
- php
restart: unless-stopped
redis:
hostname: redis
container_name: "wooktask-redis-${DOCKER_ID}"
image: "redis:alpine"
environment:
TZ: "Asia/Shanghai"
restart: unless-stopped
mariadb:
hostname: mariadb
container_name: "wooktask-mariadb-${DOCKER_ID}"
image: "mariadb"
ports: # mysql ports item
- "33066:3306" # mysql ports value
volumes:
- ./docker/mariadb/conf.d:/etc/mysql/conf.d
- ./docker/mariadb/data:/var/lib/mysql
environment:
TZ: "Asia/Shanghai"
MYSQL_ROOT_PASSWORD: "${DB_ROOT_PASSWORD}"
MYSQL_DATABASE: "${DB_DATABASE}"
MYSQL_USER: "${DB_USERNAME}"
MYSQL_PASSWORD: "${DB_PASSWORD}"
restart: unless-stopped
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/royalline/wookteam.git
git@gitee.com:royalline/wookteam.git
royalline
wookteam
wookteam
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385