1 Star 0 Fork 306

hokhyk / wookteam

forked from aipaw / wookteam 
Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
docker-compose.yml 1.28 KB
Copy Edit Web IDE Raw Blame History
kuaifan authored 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

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/hokhyk/wookteam.git
git@gitee.com:hokhyk/wookteam.git
hokhyk
wookteam
wookteam
master

Search