Skip to main content

I Hate Money

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_pagenerate_password_hash

Copy paste the hashed password adding a $ as indicated in the comment in the docker-compose