Closed HariboApfel closed 2 years ago
Hi @HariboApfel
There’s no setup page for the docker version of Invoice Ninja. All the configuration is done through environment variables, which I think you have done.
You can set the initial username and password in there as well.
you can look here for some of the env vars https://github.com/invoiceninja/dockerfiles/blob/master/env
specifically
# Create initial user
# Default to these values if empty
# IN_USER_EMAIL=admin@example.com
# IN_PASSWORD=changeme!
IN_USER_EMAIL=
IN_PASSWORD=
Shall close this for now, feel free to reply if you are still facing this issue
Setup information docker run
Describe the bug i am unable to open the invoiceninja setup page under web.xxxx.at/setup. It always redirects me back to web.xxxx.at/#/.
To reproduce Steps to reproduce the behavior: Setup mariadb. Setup Invoiceninja: `name: Create and start invoiceninja container docker_container: name: invoiceninja image: "invoiceninja/invoiceninja" pull: yes ports:
setup nginx `name: Create and start container docker_container: name: nginx image: nginx pull: yes env: VIRTUAL_HOST: "{{ (nginx.direct_domain|default(false,true)) | ternary(user.domain + ',' + 'www.' + user.domain, nginx.subdomain|default('web',true) + '.' + user.domain) }}" VIRTUAL_PORT: 80 LETSENCRYPT_HOST: "{{ (nginx.direct_domain|default(false,true)) | ternary(user.domain + ',' + 'www.' + user.domain, nginx.subdomain|default('web',true) + '.' + user.domain) }}" LETSENCRYPT_EMAIL: "{{ user.email }}" volumes:
Expected behavior open /setup to setup invoiceninja
Screenshots/logs If applicable, add screenshots to help explain your problem.
Docker/Kubernetes/Helm:
docker version
:Server: Docker Engine - Community Engine: Version: 20.10.10 API version: 1.41 (minimum version 1.12) Go version: go1.16.9 Git commit: e2f740d Built: Mon Oct 25 07:41:06 2021 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.4.12 GitCommit: 7b11cfaabd73bb80907dd23182b9347b4245eb5d runc: Version: 1.0.2 GitCommit: v1.0.2-0-g52b36a2 docker-init: Version: 0.19.0 GitCommit: de40ad0