|
||
---|---|---|
web | ||
.dockerignore | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
Caddyfile | ||
Dockerfile | ||
README.md | ||
composer.json | ||
composer.lock | ||
default.services.yml | ||
docker-compose.dev.yml | ||
docker-compose.yml | ||
php.ini |
README.md
Usage (production)
If you are using the prebuilt image only docker-compose.yml
is needed. Just configure the enviroment variables as described in the docker-compose.yml
file and run with:
docker-compose up -d
If you are not using the prebuilt image, clone the project and run docker-compose up -d
(comment image and uncomment build in docker-compose.yml
)
Build
Build the image with:
docker build -t d4science/website .
Usage (development)
Just run docker-compose -f docker-compose.dev.yml up -d