mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 21:10:42 +02:00

* Adding Firefly-iii opt fragment * Adding environment variable to force creation of db * Instructing postgres to create database * Switching exposing default port, running create db command * Remove grep command for postgres container * Removing database creation on postgres container start * Adding required App Key env variable * Updating nginx rewriting * Updating firefly nginx confugration traying to make it work with subdirectory https://github.com/firefly-iii/firefly-iii/issues/2848#issuecomment-557845301 * Trying to rewrite * Reconfiguring nginx to pass headers * Updating docker fragment * Last try * Allowing firefly iii to be hosted on other domain * Fixing docker compose env variables * Exposing ports for external communication * Ports exposing * Updating firefly host reference * Matching service name and VIRTUAL_HOST_NAME * Getting nginx to redirect to port 8080 * update and adapt * Adapt firefly to be with dedicated domain * Adapt Docker file builder to support non github builds * Make firefly init create db only if not exists + run full recommended upgrade procedure Co-authored-by: rockstardev <rockstardev@users.noreply.github.com>
32 lines
834 B
YAML
32 lines
834 B
YAML
version: '3'
|
|
|
|
services:
|
|
fireflyiii:
|
|
image: fireflyiii/core:latest
|
|
environment:
|
|
- APP_ENV=local
|
|
- APP_KEY=MustBe32DropDbAndChangeItIfUWant
|
|
- APP_URL=http://${FIREFLY_HOST}
|
|
- TRUSTED_PROXIES=**
|
|
- DB_CONNECTION=pgsql
|
|
- DB_HOST=postgres
|
|
- DB_PORT=5432
|
|
- DB_DATABASE=fireflyiii
|
|
- DB_USERNAME=postgres
|
|
- DB_PASSWORD=
|
|
- VIRTUAL_HOST_NAME=fireflyiii
|
|
- VIRTUAL_HOST=${FIREFLY_HOST}
|
|
- VIRTUAL_PORT=8080
|
|
- LETSENCRYPT_HOST=${FIREFLY_HOST}
|
|
- LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL:-<no value>}
|
|
expose:
|
|
- 8080
|
|
volumes:
|
|
- firefly_iii_export:/var/www/firefly-iii/storage/export
|
|
- firefly_iii_upload:/var/www/firefly-iii/storage/upload
|
|
depends_on:
|
|
- postgres
|
|
|
|
volumes:
|
|
firefly_iii_export:
|
|
firefly_iii_upload: |