docker-compose.yml
version: '3'
services:
api:
image: vikunja/api
environment:
VIKUNJA_REDIS_ENABLED: 1
VIKUNJA_REDIS_HOST: 'redis:6379'
VIKUNJA_CACHE_ENABLED: 1
VIKUNJA_CACHE_TYPE: redis
volumes:
- ./files:/app/vikunja/files
depends_on:
- redis
restart: unless-stopped
redis:
image: redis:4.0.8-alpine
ports:
- 3456:3456
volumes:
- ./files:/app/vikunja/files
restart: unless-stopped
frontend:
image: vikunja/frontend
ports:
- 8087:80
env_file:
- .env
depends_on:
- redis
- api
restart: unless-stopped
.env
VIKUNJA_API_URL=http://192.168.1.89:3456/api/v1
VIKUNJA_SERVICE_ENABLEREGISTRATION=1
Login Screen:
startup log:
$ docker-compose up
Starting vikunja_redis_1 ...
Starting vikunja_redis_1 ... done
Starting vikunja_api_1 ...
Starting vikunja_api_1 ... done
Starting vikunja_frontend_1 ...
Starting vikunja_frontend_1 ... done
Attaching to vikunja_redis_1, vikunja_api_1, vikunja_frontend_1
redis_1 | 1:C 20 Oct 11:57:27.244 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1 | 1:C 20 Oct 11:57:27.244 # Redis version=4.0.8, bits=64, commit=00000000, modified=0, pid=1, just started
redis_1 | 1:C 20 Oct 11:57:27.244 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
api_1 | usermod: no changes
redis_1 | 1:M 20 Oct 11:57:27.245 * Running mode=standalone, port=6379.
redis_1 | 1:M 20 Oct 11:57:27.245 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
redis_1 | 1:M 20 Oct 11:57:27.245 # Server initialized
api_1 | 2021/10/20 11:57:27 Config File "config" Not Found in "[/app/vikunja /etc/vikunja /app/vikunja/.config/vikunja]"
redis_1 | 1:M 20 Oct 11:57:27.245 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
frontend_1 | usermod: no changes
api_1 | 2021/10/20 11:57:27 Using default config.
redis_1 | 1:M 20 Oct 11:57:27.245 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
redis_1 | 1:M 20 Oct 11:57:27.245 * DB loaded from disk: 0.000 seconds
redis_1 | 1:M 20 Oct 11:57:27.245 * Ready to accept connections
api_1 | 2021/10/20 11:57:27 Redis initialized
api_1 | 2021-10-20T11:57:27.943212896Z: INFO â–¶ migration/Migrate 049 Ran all migrations successfully.
api_1 | 2021-10-20T11:57:27.94333164Z: INFO â–¶ models/RegisterReminderCron 04a Mailer is disabled, not sending reminders per mail
api_1 | 2021-10-20T11:57:27.943418472Z: INFO â–¶ models/RegisterOverdueReminderCron 04b Mailer is disabled, not sending overdue per mail
api_1 | 2021-10-20T11:57:27.943489132Z: INFO â–¶ cmd/func2 04c Vikunja version v0.18.1
api_1 | 2021-10-20T11:57:27.943780714Z: INFO â–¶ [EVENTS] 050 Adding handler, topic=poison, handler_name=poison.logger
api_1 | 2021-10-20T11:57:27.943805639Z: INFO â–¶ [EVENTS] 052 Adding handler, handler_name=list.created.list.counter.increase, topic=list.created
api_1 | 2021-10-20T11:57:27.943816618Z: INFO â–¶ [EVENTS] 053 Adding handler, topic=list.created, handler_name=list.created.send.list.created.notification
api_1 | 2021-10-20T11:57:27.943824859Z: INFO â–¶ [EVENTS] 054 Adding handler, handler_name=list.deleted.list.counter.decrease, topic=list.deleted
api_1 | 2021-10-20T11:57:27.943832012Z: INFO â–¶ [EVENTS] 055 Adding handler, handler_name=task.created.task.counter.increase, topic=task.created
api_1 | 2021-10-20T11:57:27.943839234Z: INFO â–¶ [EVENTS] 056 Adding handler, topic=task.created, handler_name=task.created.task.created.mentions
api_1 | 2021-10-20T11:57:27.943847137Z: INFO â–¶ [EVENTS] 057 Adding handler, handler_name=task.comment.edited.handle.task.comment.edit.mentions, topic=task.comment.edited
api_1 | 2021-10-20T11:57:27.943859604Z: INFO â–¶ [EVENTS] 058 Adding handler, handler_name=namespace.deleted.namespace.counter.decrease, topic=namespace.deleted
api_1 | 2021-10-20T11:57:27.943879273Z: INFO â–¶ [EVENTS] 059 Adding handler, handler_name=task.deleted.task.counter.decrease, topic=task.deleted
api_1 | 2021-10-20T11:57:27.943888776Z: INFO â–¶ [EVENTS] 05a Adding handler, handler_name=task.deleted.task.deleted.notification.send, topic=task.deleted
api_1 | 2021-10-20T11:57:27.943896153Z: INFO â–¶ [EVENTS] 05b Adding handler, handler_name=task.comment.created.task.comment.notification.send, topic=task.comment.created
api_1 | 2021-10-20T11:57:27.943903843Z: INFO â–¶ [EVENTS] 05c Adding handler, handler_name=user.export.requested.handle.user.data.export, topic=user.export.requested
api_1 | 2021-10-20T11:57:27.943911381Z: INFO â–¶ [EVENTS] 05d Adding handler, handler_name=user.created.increase.user.counter, topic=user.created
api_1 | 2021-10-20T11:57:27.943919033Z: INFO â–¶ [EVENTS] 05e Adding handler, topic=team.created, handler_name=team.created.team.counter.increase
api_1 | 2021-10-20T11:57:27.943933656Z: INFO â–¶ [EVENTS] 05f Adding handler, handler_name=task.assignee.created.task.assigned.notification.send, topic=task.assignee.created
api_1 | 2021-10-20T11:57:27.943953873Z: INFO â–¶ [EVENTS] 060 Adding handler, handler_name=task.assignee.created.task.assignee.subscribe, topic=task.assignee.created
api_1 | 2021-10-20T11:57:27.943964385Z: INFO â–¶ [EVENTS] 061 Adding handler, handler_name=team.member.added.team.member.added.notification, topic=team.member.added
api_1 | 2021-10-20T11:57:27.943974128Z: INFO â–¶ [EVENTS] 062 Adding handler, handler_name=namespace.created.namespace.counter.increase, topic=namespace.created
api_1 | 2021-10-20T11:57:27.943981718Z: INFO â–¶ [EVENTS] 063 Adding handler, handler_name=team.deleted.team.counter.decrease, topic=team.deleted
api_1 | 2021-10-20T11:57:27.943990524Z: INFO â–¶ [EVENTS] 064 Adding handler, handler_name=task.updated.task.updated.mentions, topic=task.updated
api_1 | 2021-10-20T11:57:27.944714969Z: INFO â–¶ [EVENTS] 07b Starting handler, subscriber_name=list.created.list.counter.increase, topic=list.created
api_1 | 2021-10-20T11:57:27.944741226Z: INFO â–¶ [EVENTS] 07c Starting handler, topic=task.created, subscriber_name=task.created.task.counter.increase
api_1 | 2021-10-20T11:57:27.944755711Z: INFO â–¶ [EVENTS] 07d Starting handler, subscriber_name=namespace.deleted.namespace.counter.decrease, topic=namespace.deleted
api_1 | 2021-10-20T11:57:27.944782763Z: INFO â–¶ [EVENTS] 07e Starting handler, subscriber_name=task.assignee.created.task.assigned.notification.send, topic=task.assignee.created
api_1 | 2021-10-20T11:57:27.944795812Z: INFO â–¶ [EVENTS] 07f Starting handler, subscriber_name=poison.logger, topic=poison
api_1 | 2021-10-20T11:57:27.944806982Z: INFO â–¶ [EVENTS] 080 Starting handler, subscriber_name=task.comment.created.task.comment.notification.send, topic=task.comment.created
api_1 | 2021-10-20T11:57:27.944819842Z: INFO â–¶ [EVENTS] 081 Starting handler, subscriber_name=user.created.increase.user.counter, topic=user.created
api_1 | 2021-10-20T11:57:27.944838963Z: INFO â–¶ [EVENTS] 082 Starting handler, subscriber_name=team.created.team.counter.increase, topic=team.created
api_1 | 2021-10-20T11:57:27.944863122Z: INFO â–¶ [EVENTS] 083 Starting handler, subscriber_name=team.member.added.team.member.added.notification, topic=team.member.added
api_1 | 2021-10-20T11:57:27.944875189Z: INFO â–¶ [EVENTS] 084 Starting handler, subscriber_name=team.deleted.team.counter.decrease, topic=team.deleted
api_1 | 2021-10-20T11:57:27.944885763Z: INFO â–¶ [EVENTS] 085 Starting handler, subscriber_name=list.deleted.list.counter.decrease, topic=list.deleted
api_1 | 2021-10-20T11:57:27.94489631Z: INFO â–¶ [EVENTS] 086 Starting handler, subscriber_name=namespace.created.namespace.counter.increase, topic=namespace.created
api_1 | 2021-10-20T11:57:27.944909058Z: INFO â–¶ [EVENTS] 087 Starting handler, subscriber_name=task.updated.task.updated.mentions, topic=task.updated
api_1 | 2021-10-20T11:57:27.944921385Z: INFO â–¶ [EVENTS] 088 Starting handler, subscriber_name=task.comment.edited.handle.task.comment.edit.mentions, topic=task.comment.edited
api_1 | 2021-10-20T11:57:27.944944859Z: INFO â–¶ [EVENTS] 089 Starting handler, subscriber_name=task.created.task.created.mentions, topic=task.created
api_1 | 2021-10-20T11:57:27.944959283Z: INFO â–¶ [EVENTS] 08a Starting handler, topic=task.deleted, subscriber_name=task.deleted.task.counter.decrease
api_1 | 2021-10-20T11:57:27.944970976Z: INFO â–¶ [EVENTS] 08b Starting handler, subscriber_name=task.deleted.task.deleted.notification.send, topic=task.deleted
api_1 | 2021-10-20T11:57:27.944989017Z: INFO â–¶ [EVENTS] 08c Starting handler, topic=user.export.requested, subscriber_name=user.export.requested.handle.user.data.export
api_1 | 2021-10-20T11:57:27.945012455Z: INFO â–¶ [EVENTS] 08d Starting handler, subscriber_name=task.assignee.created.task.assignee.subscribe, topic=task.assignee.created
api_1 | 2021-10-20T11:57:27.945025698Z: INFO â–¶ [EVENTS] 08e Starting handler, subscriber_name=list.created.send.list.created.notification, topic=list.created
api_1 | ⇨ http server started on [::]:3456