Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- docker run --name mysql -e MYSQL_ROOT_PASSWORD=mysqlrootpassword -d mysql:latest
- CREATE DATABASE firefly;
- CREATE USER 'firefly'@'%' IDENTIFIED BY 'mysqluserpassword';
- GRANT ALL PRIVILEGES ON firefly . * TO 'firefly'@'%';
- FLUSH PRIVILEGES;
- docker volume create firefly_export
- docker volume create firefly_upload
- docker run -d \
- --name firefly \
- --restart unless-stopped \
- --link mysql:mysql \
- -v firefly_iii_export:/var/www/firefly-iii/storage/export \
- -v firefly_iii_upload:/var/www/firefly-iii/storage/upload \
- -p 50000:80 \
- -e FF_APP_ENV=local \
- -e FF_APP_KEY=APPKEY \
- -e FF_DB_HOST=172.17.0.3 \
- -e FF_DB_NAME=firefly \
- -e FF_DB_USER=firefly \
- -e FF_DB_PASSWORD=mysqluserpassword \
- jc5x/firefly-iii:latest
- docker exec -it cf0b63577283f10 php artisan migrate --seed
- docker exec -it cf0b63577283f10 php artisan firefly:upgrade-database
- docker exec -it cf0b63577283f10 php artisan firefly:verify
- docker exec -it cf0b63577283f10 php artisan passport:install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement