1 Star 0 Fork 848

justRight / wookteam

forked from aipaw / wookteam 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 923 Bytes
一键复制 编辑 原始数据 按行查看 历史
kuaifan 提交于 2020-06-10 21:07 . no message
version: '3'
services:
nginx:
image: nginx
ports:
- "${APP_PORT}:80"
volumes:
- ./docker/site.conf:/etc/nginx/conf.d/default.conf
- ./:/var/www
links:
- php
depends_on:
- php
restart: unless-stopped
php:
hostname: php
build:
context: .
dockerfile: docker/php.Dockerfile
volumes:
- ./:/var/www
environment:
TZ: "Asia/Shanghai"
links:
- mariadb
depends_on:
- mariadb
mariadb:
hostname: mariadb
image: mariadb
command: --default-authentication-plugin=mysql_native_password
environment:
- "MYSQL_ROOT_PASSWORD=${DB_ROOT_PASSWORD}"
- "MYSQL_DATABASE=${DB_DATABASE}"
- "MYSQL_USER=${DB_USERNAME}"
- "MYSQL_PASSWORD=${DB_PASSWORD}"
restart: always
nodejs:
hostname: nodejs
image: node:12.18.0
working_dir: /var/www
volumes:
- ./:/var/www
PHP
1
https://gitee.com/imRichard1314/wookteam.git
git@gitee.com:imRichard1314/wookteam.git
imRichard1314
wookteam
wookteam
master

搜索帮助