|
|
il y a 2 ans | |
|---|---|---|
| .. | ||
| app | il y a 2 ans | |
| config | il y a 2 ans | |
| extend | il y a 2 ans | |
| public | il y a 2 ans | |
| route | il y a 2 ans | |
| runtime | il y a 2 ans | |
| view | il y a 2 ans | |
| .example.env | il y a 2 ans | |
| .gitignore | il y a 2 ans | |
| README.md | il y a 2 ans | |
| composer.json | il y a 2 ans | |
| composer.lock | il y a 2 ans | |
| generate-schema.py | il y a 2 ans | |
| think | il y a 2 ans | |
cd ../docker
docker build -t lechang-storage-backend:8.0-apache -f ./lechang-storage-backend.dockerfile .
cd api
composer install
docker run -d --rm -it -v $PWD:/var/www/html -p 8880:80 lechang-storage-backend:8.0-apache
# docker nginx-proxy env
docker run -d --rm -it -v $PWD:/var/www/html -e VIRTUAL_HOST='~..*' \
-e VIRTUAL_PATH='/lechang-storage' \
-e VIRTUAL_DEST='/public' \
--name lechang-storage \
--net use-proxy lechang-storage-backend:8.0-apache