I realize I’m probably out of my league here, but after trying all day I finally the front end to load. I can’t register a new user due to a status code 405, which I’m guessing means I’ve screwed up something with the API. I’m pretty new to self-hosting, so please assume I know just about nothing.
I have two things forwarding in Nginx Proxy Manager:
- api.llama.lonalabs.com is forwarding to h ttp://ip:3456 (no SSL)
- llama.lonalabs.com is forwarding to h ttp://id:4321 (with an SSL added)
This is my portainer docker-compose: (I added spaces to urls since I’m new and it was blocking my post)
version: '3'
services:
db:
image: mariadb:10
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
environment:
MYSQL_ROOT_PASSWORD: xxxxxx
MYSQL_USER: vikunja
MYSQL_PASSWORD: xxxxxx
MYSQL_DATABASE: vikunja
volumes:
- ./db:/var/lib/mysql
restart: unless-stopped
api:
image: vikunja/api
environment:
VIKUNJA_DATABASE_HOST: db
VIKUNJA_DATABASE_PASSWORD: xxxxxx
VIKUNJA_DATABASE_TYPE: mysql
VIKUNJA_DATABASE_USER: vikunja
VIKUNJA_DATABASE_DATABASE: vikunja
VIKUNJA_SERVICE_JWTSECRET: xxxxxx
VIKUNJA_SERVICE_FRONTENDURL: h ttps://llama.lonalabs.com/
ports:
- 3456:3456
volumes:
- ./files:/app/vikunja/files
depends_on:
- db
restart: unless-stopped
frontend:
image: vikunja/frontend
ports:
- 4321:80
environment:
VIKUNJA_API_URL: h ttp:/api.llama.lonalabs.com/api/v1
restart: unless-stopped
I feel like I’m really close now, but after a few hours of trying different things I’m still stuck in the same place. Any help is greatly appreciated.