Docker Compose template for the kcal app.
Go to file
Christopher C. Wells e33ca873d1 Initial commit 2021-04-24 09:46:52 -07:00
etc Initial commit 2021-04-24 09:46:52 -07:00
.env.example Initial commit 2021-04-24 09:46:52 -07:00
.gitignore Initial commit 2021-04-24 09:46:52 -07:00
LICENSE Initial commit 2021-04-24 09:46:52 -07:00
README.md Initial commit 2021-04-24 09:46:52 -07:00
docker-compose.yml Initial commit 2021-04-24 09:46:52 -07:00

README.md

kcal for Docker!

Docker build status Docker version Docker pulls Docker image size

🚧 WORK IN PROGRESS 🚧

This is a template repository for running kcal with Docker Compose. Visit the main kcal repository for more information about the application.

1. Clone

Clone this repo.

git clone https://github.com/kcal-app/kcal-docker.git

2. Create .env file.

cd kcal-docker
cp .env.example .env

3. Generate and add an APP_KEY to the .env file.

docker-compose run app php artisan key:generate --show

This command will output a suitable key. Copy the key value and add it to the APP_KEY value in the .env file. This also a good time to review make other changes to the .env file (e.g. set the APP_TIMEZONE and APP_URL values as desired).

4. Launch! 🚀

docker-compose up -d

5. Set up application.

docker-compose exec app php artisan optimize
docker-compose exec app php artisan migrate
docker-compose exec app php artisan elastic:migrate

6. Create initial user.

docker-compose exec app php artisan user:add --admin