remove actualBudget, change PlantIt config

This commit is contained in:
Sönke Domröse
2025-05-07 15:24:18 -05:00
parent 34567180b3
commit 71a36f51cd
3 changed files with 30 additions and 50 deletions

View File

@@ -1,29 +0,0 @@
services:
actual_server:
image: docker.io/actualbudget/actual-server:latest
ports:
# This line makes Actual available at port 5006 of the device you run the server on,
# i.e. http://localhost:5006. You can change the first number to change the port, if you want.
- '5006:5006'
environment:
# Uncomment any of the lines below to set configuration options.
# - ACTUAL_HTTPS_KEY=/data/selfhost.key
# - ACTUAL_HTTPS_CERT=/data/selfhost.crt
# - ACTUAL_PORT=5006
# - ACTUAL_UPLOAD_FILE_SYNC_SIZE_LIMIT_MB=20
# - ACTUAL_UPLOAD_SYNC_ENCRYPTED_FILE_SYNC_SIZE_LIMIT_MB=50
# - ACTUAL_UPLOAD_FILE_SIZE_LIMIT_MB=20
# See all options and more details at https://actualbudget.github.io/docs/Installing/Configuration
# !! If you are not using any of these options, remove the 'environment:' tag entirely.
volumes:
# Change './actual-data' below to the path to the folder you want Actual to store its data in on your server.
# '/data' is the path Actual will look for its files in by default, so leave that as-is.
- /home/soenke/docker-data/actualBudget/data:/data
healthcheck:
# Enable health check for the instance
test: ['CMD-SHELL', 'node src/scripts/health-check.js']
interval: 60s
timeout: 10s
retries: 3
start_period: 20s
restart: unless-stopped

View File

@@ -5,7 +5,6 @@ services:
env_file: server.env
depends_on:
- db
restart: unless-stopped
volumes:
- "/home/soenke/docker-data/plantit/upload-dir:/upload-dir"
ports:
@@ -16,13 +15,6 @@ services:
image: mysql:8.0
restart: always
env_file: server.env
ports:
- "3306:3306"
volumes:
- "/home/soenke/docker-data/plantit/db:/var/lib/mysql"
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: bootdb
MYSQL_USER: root
MYSQL_PASSWORD: root
MYSQL_HOST: db

View File

@@ -8,27 +8,44 @@ MYSQL_PSW=root
MYSQL_DATABASE=bootdb
MYSQL_ROOT_PASSWORD=root
#
# Server config
#
USERS_LIMIT=-1 # less then 0 means no limit
UPLOAD_DIR=/upload-dir # path to the directory used to store uploaded images, if on docker deployment leave as it is and change the volume binding in the docker-compose file if needed
API_PORT=8080
FLORACODEX_URL=https://api.floracodex.com
FLORACODEX_KEY=CzugP80KW7ujgxexVwD9ejA7RIrZT6AoORctImt0XgUS-5MdC1lmY02vbg7c5DJ4
ALLOWED_ORIGINS=* # CORS allowed origins (comma separated list)
LOG_LEVEL=DEBUG # could be: DEBUG, INFO, WARN, ERROR
REMINDER_NOTIFY_CHECK=0 30 7 * * * # 6-values crontab expression to set the check time for reminders
MAX_REQUESTS_PER_MINUTE=100 # rate limiting of the upcoming requests
#
# Notification
#
NTFY_ENABLED=true # if "false" ntfy service won't be available as notification dispatcher
GOTIFY_ENABLED=true # if "false" ntfy service won't be available as notification dispatcher
#
# Cache
#
CACHE_TYPE=none # Cache type. By default, it's "redis" but can also be "none"
#CACHE_TTL=86400
#CACHE_HOST=cache
#CACHE_PORT=6379
#CACHE_PASSWORD=
#CACHE_USERNAME=
#
# JWT
#
JWT_SECRET=6a837ed16d20acb8b0af7c7d5c16725d58da86e89649eb857293e2995f0ae09a8c85694476fe32e46d25c612af9ade6e2374a4b93ff0348d1529a8ce583b3520fb380ab69e12f80097332835cd30c605612b475c6d675d47c1616289790cb2a8b268dd8a08150b8a7681a72689e650877c010ff700906df1b539ca4f651a1276a62e2d2c199819a8f7ded0291b58b6668fd280d1ab5258329362f64a37786cd1801e0286cd812234c48d85beb84ce51f70d0f4c23ebd49646377c1cc9b29b050080209699fc517f7deaa960279d86b8c2ca28cfe2d5a31a24713145ca5434c940e75455bc1b99d4fbe9569b3d80887b45d4ebb4107879567fce3f2c5ca959189
JWT_EXP=1
#
# Server config
#
USERS_LIMIT=-1
UPLOAD_DIR=/upload-dir
API_PORT=8080
FLORACODEX_KEY=
LOG_LEVEL=DEBUG
ALLOWED_ORIGINS=*
#
# Cache
#
CACHE_TYPE=none
FLORACODEX_KEY=CzugP80KW7ujgxexVwD9ejA7RIrZT6AoORctImt0XgUS-5MdC1lmY02vbg7c5DJ4
ALLOWED_ORIGINS=*
SSL_ENABLED=false