2017-12-15 03:05:37 -06:00
|
|
|
version: '3.2'
|
2017-02-10 21:33:20 -06:00
|
|
|
services:
|
2017-12-15 03:05:37 -06:00
|
|
|
firefly_iii_db:
|
2017-11-25 13:27:53 -06:00
|
|
|
image: mysql:8
|
2017-02-10 21:33:20 -06:00
|
|
|
environment:
|
|
|
|
- MYSQL_DATABASE=firefly_db
|
|
|
|
- MYSQL_USER=firefly_db
|
|
|
|
- MYSQL_PASSWORD=firefly_db_secret
|
|
|
|
- MYSQL_RANDOM_ROOT_PASSWORD=yes
|
|
|
|
volumes:
|
2017-12-15 03:05:37 -06:00
|
|
|
- firefly_iii_db:/var/lib/mysql
|
|
|
|
firefly_iii_app:
|
|
|
|
image: jc5x/firefly-iii
|
2017-02-10 21:33:20 -06:00
|
|
|
environment:
|
2017-12-15 03:05:37 -06:00
|
|
|
- FF_DB_HOST=firefly_iii_db
|
2017-02-10 21:33:20 -06:00
|
|
|
- FF_DB_NAME=firefly_db
|
|
|
|
- FF_DB_USER=firefly_db
|
|
|
|
- FF_DB_PASSWORD=firefly_db_secret
|
2017-12-15 03:05:37 -06:00
|
|
|
- FF_APP_KEY=S0m3R@nd0mStr1ngOf32Ch@rsEx@ctly
|
2017-10-15 09:25:26 -05:00
|
|
|
- FF_APP_ENV=local
|
2017-02-10 21:33:20 -06:00
|
|
|
ports:
|
|
|
|
- "80:80"
|
2017-12-15 03:05:37 -06:00
|
|
|
volumes:
|
|
|
|
- type: volume
|
|
|
|
source: firefly_iii_export
|
|
|
|
target: /var/www/firefly-iii/storage/export
|
|
|
|
- type: volume
|
|
|
|
source: firefly_iii_upload
|
|
|
|
target: /var/www/firefly-iii/storage/upload
|
2017-02-10 21:33:20 -06:00
|
|
|
links:
|
2017-12-15 03:05:37 -06:00
|
|
|
- firefly_iii_db
|
2017-02-12 10:55:56 -06:00
|
|
|
|
|
|
|
volumes:
|
2017-12-15 03:05:37 -06:00
|
|
|
firefly_iii_db:
|
|
|
|
firefly_iii_export:
|
|
|
|
firefly_iii_upload:
|