I Hate Money
I hate money is a web application made to ease shared budget management. It keeps track of who bought what, when, and for whom; and helps to settle the bills.
version: "3.3"
services:
ihatemoney:
ports:
- 8293:8000 # OG 8000:8000
volumes:
- /srv/path/Ihatemoney/database:/database
environment:
- SESSION_COOKIE_SECURE=False # set to true if running over https
- ACTIVATE_DEMO_PROJECT=False
- ALLOW_PUBLIC_PROJECT_CREATION= False
- BABEL_DEFAULT_TIMEZONE=Europe/Paris
- ACTIVATE_ADMIN_DASHBOARD=True
- ADMIN_PASSWORD=pbkdf2:sha256:600000$$xxxxxxx # in the case of a docker-compose like here BE SURE to ADD a $ after '600000$'
image: ihatemoney/ihatemoney
restart: unless-stopped
To enable the Admin dashboard, first generate a hashed password with:
docker run -it --rm --entrypoint ihatemoney ihatemoney/ihatemoney generate_password_hash
Copy paste the hashed password adding a $
as indicated in the comment in the docker-compose
If you get CSRF Token: The CSRF tokens do not match.
you're accessing the plateform through plain HTTP so you need to disable secure cookies: https://ihatemoney.readthedocs.io/en/latest/configuration.html#session-cookie-secure
Or just use a domain with HTTPS.
No Comments