代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。