-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
55 lines (50 loc) · 1.18 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
53
54
55
---
version: '3'
services:
firefly:
container_name: firefly
image: fireflyiii/core:latest
restart: always
volumes:
- firefly_iii_upload:/var/www/html/storage/upload
networks:
- user-bridge
environment:
APP_KEY: eKT9V6t5eUqT1ROeEt9QzXEygjaJcEzZ
DB_HOST: mysql
DB_PORT: 3306
DB_DATABASE: ff_iii
DB_USERNAME: root
DB_PASSWORD: root
ports:
- 8001:8080
firefly-iii-paypal-importer:
build:
context: .
dockerfile: Dockerfile
container_name: firefly-iii-paypal-importer
restart: unless-stopped
working_dir: /var/www/html
ports:
- 8002:80
volumes:
- $PWD/data:/data
- .:/var/www/html
networks:
- user-bridge
environment:
DB_HOST: mysql
DB_PORT: 3306
DB_DATABASE: ff_iii_paypal_importer
DB_USERNAME: root
DB_PASSWORD: root
FIREFLY_TOKEN: ${FIREFLY_TOKEN}
FIREFLY_URI: ${FIREFLY_URI}
FIREFLY_PAYPAL_ACCOUNT_ID: ${FIREFLY_PAYPAL_ACCOUNT_ID}
PAYPAL_CLIENT_ID: ${PAYPAL_CLIENT_ID}
PAYPAL_CLIENT_SECRET: ${PAYPAL_CLIENT_SECRET}
volumes:
firefly_iii_upload:
networks:
user-bridge:
external: true