mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-28 18:01:26 -06:00
37 lines
912 B
YAML
37 lines
912 B
YAML
version: '3.2'
|
|
services:
|
|
firefly_iii_db:
|
|
image: mysql:8
|
|
environment:
|
|
- MYSQL_DATABASE=firefly_db
|
|
- MYSQL_USER=firefly_db
|
|
- MYSQL_PASSWORD=firefly_db_secret
|
|
- MYSQL_RANDOM_ROOT_PASSWORD=yes
|
|
volumes:
|
|
- firefly_iii_db:/var/lib/mysql
|
|
firefly_iii_app:
|
|
image: jc5x/firefly-iii
|
|
environment:
|
|
- FF_DB_HOST=firefly_iii_db
|
|
- FF_DB_NAME=firefly_db
|
|
- FF_DB_USER=firefly_db
|
|
- FF_DB_PASSWORD=firefly_db_secret
|
|
- FF_APP_KEY=S0m3R@nd0mStr1ngOf32Ch@rsEx@ctly
|
|
- FF_APP_ENV=local
|
|
ports:
|
|
- "80:80"
|
|
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
|
|
links:
|
|
- firefly_iii_db
|
|
|
|
volumes:
|
|
firefly_iii_db:
|
|
firefly_iii_export:
|
|
firefly_iii_upload:
|