forked from spiral-project/ihatemoney
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (45 loc) · 1.64 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# This is an example. Please change the configuration variables listed here.
#
# This example uses a volume to persist the sqlite database outside of the container,
# please adapt the local path. If you use a custom PUID and PGID, you need to create
# the local path beforehand with the correct user/group.
#
# You can generate an admin password with: docker run -it --rm --entrypoint ihatemoney ihatemoney/ihatemoney:latest generate_password_hash
# IMPORTANT: replace every dollar character in the result with a double dollar ($ -> $$)
# To disable admin access, simply set the password to an empty string (ADMIN_PASSWORD=)
#
# See https://ihatemoney.readthedocs.io/en/latest/configuration.html to understand all settings.
version: "3.9"
services:
ihatemoney:
image: ihatemoney/ihatemoney:latest
environment:
- DEBUG=False
- ACTIVATE_DEMO_PROJECT=True
- ACTIVATE_ADMIN_DASHBOARD=False
- ADMIN_PASSWORD=
- ALLOW_PUBLIC_PROJECT_CREATION=True
- BABEL_DEFAULT_TIMEZONE=UTC
- GREENLET_TEST_CPP=no
- MAIL_DEFAULT_SENDER=Budget manager <[email protected]>
- 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
- SHOW_ADMIN_EMAIL=True
- SQLALCHEMY_DATABASE_URI=sqlite:////database/ihatemoney.db
- SQLALCHEMY_TRACK_MODIFICATIONS=False
- APPLICATION_ROOT=/
- ENABLE_CAPTCHA=False
- LEGAL_LINK=
- PORT=8000
- PUID=0
- PGID=0
volumes:
- /path/to/local/dir/for/sqlite/db:/database
ports:
- "8000:8000"