Add Firefly III personal finance manager
PostgreSQL backend, npm-network integration, uploads/db on /srv/firefly-iii/.
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
# Generate with: openssl rand -hex 16 | head -c 32
|
||||||
|
APP_KEY=
|
||||||
|
|
||||||
|
APP_URL=https://firefly.kolpacksoftware.com
|
||||||
|
|
||||||
|
DB_PASSWORD=
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: fireflyiii/core:latest
|
||||||
|
container_name: firefly-iii
|
||||||
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
environment:
|
||||||
|
- APP_KEY=${APP_KEY}
|
||||||
|
- APP_URL=${APP_URL}
|
||||||
|
- TRUSTED_PROXIES=**
|
||||||
|
- DB_CONNECTION=pgsql
|
||||||
|
- DB_HOST=db
|
||||||
|
- DB_PORT=5432
|
||||||
|
- DB_DATABASE=firefly
|
||||||
|
- DB_USERNAME=firefly
|
||||||
|
- DB_PASSWORD=${DB_PASSWORD}
|
||||||
|
- TZ=America/New_York
|
||||||
|
volumes:
|
||||||
|
- /srv/firefly-iii/upload:/var/www/html/storage/upload
|
||||||
|
ports:
|
||||||
|
- 8282:8080
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
- internal
|
||||||
|
|
||||||
|
db:
|
||||||
|
image: postgres:16-alpine
|
||||||
|
container_name: firefly-iii-db
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- POSTGRES_DB=firefly
|
||||||
|
- POSTGRES_USER=firefly
|
||||||
|
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||||
|
volumes:
|
||||||
|
- /srv/firefly-iii/db:/var/lib/postgresql/data
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
external:
|
||||||
|
name: npm-network
|
||||||
|
internal:
|
||||||
|
driver: bridge
|
||||||
Reference in New Issue
Block a user