mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00

* /healthcheck endpoint usefull for monitoring, ci test also uses this * customizable PORT with environment variable * customizable PUID/PGID, reduce attack surface and allow better integration in rootless environments * size optimization * update to python 3.10 * add postgresql compatibility * PUID/PGID default as root to not break current user environments
33 lines
923 B
YAML
33 lines
923 B
YAML
# This is an example. Please change the configuration variables listed here.
|
|
|
|
version: "3.9"
|
|
|
|
services:
|
|
ihatemoney:
|
|
image: ihatemoney/ihatemoney:latest
|
|
environment:
|
|
- DEBUG=False
|
|
- ACTIVATE_ADMIN_DASHBOARD=False
|
|
- ACTIVATE_DEMO_PROJECT=True
|
|
- ADMIN_PASSWORD=
|
|
- ALLOW_PUBLIC_PROJECT_CREATION=True
|
|
- BABEL_DEFAULT_TIMEZONE=UTC
|
|
- GREENLET_TEST_CPP=no
|
|
- MAIL_DEFAULT_SENDER=('Budget manager', 'budget@notmyidea.org')
|
|
- MAIL_PASSWORD=
|
|
- MAIL_PORT=25
|
|
- MAIL_SERVER=localhost
|
|
- MAIL_USE_SSL=False
|
|
- MAIL_USE_TLS=False
|
|
- MAIL_USERNAME=
|
|
- SECRET_KEY=tralala
|
|
- SESSION_COOKIE_SECURE=True
|
|
- SQLALCHEMY_DATABASE_URI=sqlite:////database/ihatemoney.db
|
|
- SQLALCHEMY_TRACK_MODIFICATIONS=False
|
|
- ENABLE_CAPTCHA=False
|
|
- LEGAL_LINK=
|
|
- PORT=8000
|
|
- PUID=0
|
|
- PGID=0
|
|
ports:
|
|
- "8000:8000"
|