Skip to content

Instantly share code, notes, and snippets.

@dnburgess
Created August 12, 2020 18:58
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dnburgess/2dc43082993ab85c7a03e94eb6db613a to your computer and use it in GitHub Desktop.
Save dnburgess/2dc43082993ab85c7a03e94eb6db613a to your computer and use it in GitHub Desktop.
DB Tech docker-compose.yml for Firefly III
version: '3.3'
services:
fireflyiii:
image: jc5x/firefly-iii:latest
volumes:
- /srv/FireFly3/firefly_iii_export:/var/www/firefly-iii/storage/export
- /srv/FireFly3/firefly_iii_upload:/var/www/firefly-iii/storage/upload
env_file: .env
ports:
- 8003:8080
depends_on:
- db
links:
- db:db
db:
image: yobasystems/alpine-mariadb:latest
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=yes
- MYSQL_USER=firefly
- MYSQL_PASSWORD=firefly_password
- MYSQL_DATABASE=firefly
volumes:
- db:/var/lib/mysql
volumes:
firefly_iii_export:
firefly_iii_upload:
db:
@rayjaymor85
Copy link

@dnburgess just a heads up that Line 5 needs to be changed to this:
image: fireflyiii/core:latest

Everything else seems to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment