|
il y a 1 an | |
---|---|---|
.. | ||
app | il y a 1 an | |
config | il y a 1 an | |
extend | il y a 1 an | |
public | il y a 1 an | |
route | il y a 1 an | |
runtime | il y a 1 an | |
view | il y a 1 an | |
.example.env | il y a 1 an | |
.gitignore | il y a 1 an | |
README.md | il y a 1 an | |
composer.json | il y a 1 an | |
composer.lock | il y a 1 an | |
generate-schema.py | il y a 1 an | |
think | il y a 1 an |
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