1 Unstar Star 12 Fork 4

liangguifeng / hyperf-apiPHP

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
hyperf的api实例,做了用户的登录认证,采用的是jwt做接口的认证,引入了blade模板引擎,供大家参考,后续会不断更新优化!!! spread retract

https://gitee.com/liangguifeng/hyperf-api

Clone or download
deploy.test.yml 580 Bytes
Copy Edit Web IDE Raw Blame History
liangguifeng authored 2019-10-17 11:28 . update
version: '3.7'
services:
hyperf:
image: $REGISTRY_URL/$PROJECT_NAME:test
environment:
- "APP_PROJECT=hyperf"
- "APP_ENV=test"
ports:
- 9501:9501
deploy:
replicas: 1
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 5
update_config:
parallelism: 2
delay: 5s
order: start-first
networks:
- hyperf_net
configs:
- source: hyperf_v1.0
target: /opt/www/.env
configs:
hyperf_v1.0:
external: true
networks:
hyperf_net:
external: true

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/liangguifeng/hyperf-api.git
git@gitee.com:liangguifeng/hyperf-api.git
liangguifeng
hyperf-api
hyperf-api
master

Search

131423 f1aaba0b 1899542 094922 1c74bed3 1899542