marc-leopold/server
ManjaroOne666 2e37609680 add backend 2019-02-25 14:26:11 +00:00
..
storage add backend 2019-02-25 14:26:11 +00:00
themes/marc-leopold-api add backend 2019-02-25 14:26:11 +00:00
.gitignore add backend 2019-02-25 14:26:11 +00:00
Dockerfile add backend 2019-02-25 14:26:11 +00:00
README.md add backend 2019-02-25 14:26:11 +00:00
docker-compose.yml add backend 2019-02-25 14:26:11 +00:00
package.json add backend 2019-02-25 14:26:11 +00:00
yarn.lock add backend 2019-02-25 14:26:11 +00:00

README.md

Notes

DO NOT forget to create the directories before running docker-compose the first time otherwise they'll be created with root permissions and cause everything to go to shit.

For a persistemt database

# create empty database file on host
mkdir storage
touch storage/database.sqlite

# start container
docker-compose up -d

# provision database
docker-compose exec web php artisan october:up