|
|
hace 2 años | |
|---|---|---|
| .. | ||
| app | hace 2 años | |
| config | hace 2 años | |
| extend | hace 2 años | |
| public | hace 2 años | |
| route | hace 2 años | |
| runtime | hace 2 años | |
| view | hace 2 años | |
| .example.env | hace 2 años | |
| .gitignore | hace 2 años | |
| README.md | hace 2 años | |
| composer.json | hace 2 años | |
| composer.lock | hace 2 años | |
| generate-schema.py | hace 2 años | |
| think | hace 2 años | |
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