-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added docker-compose including the FF3 importer (#65)
* Create docker-compose.pico+firefly+installer.yml * Adapt installation.md * Consistency with docs
- Loading branch information
Showing
2 changed files
with
93 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
version: '3.3' | ||
services: | ||
|
||
firefly-pico: | ||
image: cioraneanu/firefly-pico:latest | ||
container_name: firefly_pico | ||
restart: always | ||
depends_on: | ||
- firefly-pico-postgresql | ||
ports: | ||
- 6976:80 | ||
environment: | ||
- FIREFLY_URL=http://firefly-app:8080 | ||
- DB_CONNECTION=pgsql | ||
- DB_HOST=firefly-pico-postgresql | ||
- DB_PORT=54322 | ||
- DB_DATABASE=firefly-pico | ||
- DB_USERNAME=firefly-pico | ||
- DB_PASSWORD=very-secure-pwd-pico | ||
- TZ=Europe/London | ||
networks: | ||
firefly: | ||
|
||
firefly-pico-postgresql: | ||
image: postgres:latest | ||
container_name: firefly_pico_db | ||
restart: always | ||
environment: | ||
- POSTGRES_DB=firefly-pico | ||
- POSTGRES_USER=firefly-pico | ||
- POSTGRES_PASSWORD=very-secure-pwd-pico | ||
volumes: | ||
- /<your_path>/firefly-pico-db:/var/lib/postgresql/data | ||
networks: | ||
firefly: | ||
|
||
|
||
firefly-app: | ||
image: fireflyiii/core:latest | ||
container_name: firefly_iii | ||
restart: always | ||
depends_on: | ||
- firefly-app-postgresql | ||
ports: | ||
- 6041:8080 | ||
environment: | ||
- FIREFLY_III_LAYOUT=v1 | ||
- APP_URL=https://firefly.domain.com | ||
- APP_KEY=<add unique 32-char key> | ||
- TRUSTED_PROXIES=** | ||
- DB_CONNECTION=pgsql | ||
- DB_HOST=firefly-app-postgresql | ||
- DB_PORT=5432 | ||
- DB_DATABASE=firefly | ||
- DB_USERNAME=firefly | ||
- DB_PASSWORD=very-secure-pwd-firefly | ||
volumes: | ||
- /<your_path>/firefly-upload:/var/www/html/storage/upload | ||
networks: | ||
firefly: | ||
|
||
firefly-app-postgresql: | ||
image: postgres:latest | ||
container_name: firefly_iii_db | ||
restart: always | ||
environment: | ||
- POSTGRES_DB=firefly | ||
- POSTGRES_USER=firefly | ||
- POSTGRES_PASSWORD=very-secure-pwd-firefly | ||
volumes: | ||
- /<your_path>/firefly-db:/var/lib/postgresql/data | ||
networks: | ||
firefly: | ||
|
||
importer: | ||
image: fireflyiii/data-importer:latest | ||
restart: always | ||
container_name: firefly_iii_importer | ||
ports: | ||
- 4086:8080 | ||
depends_on: | ||
- firefly-app | ||
environment: | ||
- FIREFLY_III_URL=http://firefly-app:8080 | ||
- VANITY_URL=http://firefly.domain.com #omit this if you`re not using a reverse proxy | ||
networks: | ||
firefly: | ||
|
||
networks: | ||
firefly: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters