-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
52 lines (51 loc) · 1.1 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: '3.3'
services:
app:
image: fireflyiii/core:latest
restart: always
volumes:
- firefly_iii_upload:/var/www/html/storage/upload
env_file: fireflyiii/.env
ports:
- 8081:8080
depends_on:
- db
db:
image: mariadb
hostname: fireflyiiidb
restart: always
env_file: fireflyiii/.db.env
volumes:
- firefly_iii_db:/var/lib/mysql
fireflyiii_db_backup:
image: fradelg/mysql-cron-backup
depends_on:
- db
volumes:
- ./mysql_backup:/backup
env_file: fireflyiii/.db.env
environment:
- MYSQL_HOST=fireflyiiidb
- MAX_BACKUPS=15
- INIT_BACKUP=1
- CRON_TIME=0 * * * * # Every hour at minute 0
- GZIP_LEVEL=9 # High compression level
fidi:
image: fireflyiii/data-importer:latest
restart: always
env_file: fireflyiii/.fidi.env
ports:
- 8082:8080
depends_on:
- app
categoriser:
build: ./trans-cat/.
ports:
- 8083:5000
volumes:
- ./trans-cat/web:/code
environment:
- PYTHONUNBUFFERED=1
volumes:
firefly_iii_upload:
firefly_iii_db: