New docker install help. Getting 404

I’m trying to get IN up and running for the past 2 days but no matter what I do I get 404. I tried it with Traefik and without. On Arm CPU and x86. Most likely I’m missing some but I can’t figure out what it is. Hope somebody can point in the right direction. Here are the current configs.

version: '3.8'
services:
  invoiceninja:
    image: invoiceninja/invoiceninja:latest
    environment:
      - MYSQL_DATABASE=invoiceninja
      - MYSQL_ROOT_PASSWORD=password
      - IS_DOCKER=true
      - APP_DEBUG=true
      - APP_URL=https://invoiceninja.example.com
      - APP_KEY=base64
      - APP_CIPHER=AES-256-CBC
      - DB_USERNAME=invoiceninja
      - DB_PASSWORD=password
      - DB_HOST=192.168.0.51
      - DB_DATABASE=invoiceninja
      - REQUIRE_HTTPS=true
      - SESSION_ENCRYPT=true
      - SESSION_SECURE=true
  - TRUSTED_PROXIES='10.0.0.0/8,172.16.0.0/12,192.168.0.0/16'
volumes:
  - /mnt/usbdisk/data/appdata/invoiceninja/storage:/var/www/app/storage
  - /mnt/usbdisk/data/appdata/invoiceninja/public/logo:/var/www/app/logo
  - /mnt/usbdisk/data/appdata/invoiceninja/public:/var/www/app/public
deploy:
  placement:
    constraints: [node.labels.nuc1 == web] # deploy to NUC-1
  restart_policy:
    condition: on-failure
    delay: 30s
    max_attempts: 1
    window: 120s
labels:
  - traefik.enable=false
networks:
  - invoiceninja

  nginx:
    image: nginx
    volumes:
      - /mnt/usbdisk/data/appdata/invoiceninja/ninja.conf:/etc/nginx/conf.d/default.conf:ro
      - /mnt/usbdisk/data/appdata/invoiceninja/storage:/var/www/app/storage
      - /mnt/usbdisk/data/appdata/invoiceninja/public/logo:/var/www/app/logo
  - /mnt/usbdisk/data/appdata/invoiceninja/public:/var/www/app/public
deploy:
  placement:
    constraints: [node.labels.nuc1 == web] # deploy to NUC-1
  restart_policy:
    condition: on-failure
    delay: 30s
    max_attempts: 2
    window: 120s
labels:
  - traefik.enable=true
  - traefik.http.routers.nginx.entrypoints=websecure
  - traefik.http.routers.nginx.rule=Host(`invoiceninja.example.com`)
  - traefik.http.services.nginx.loadbalancer.server.port=80
networks:
  - traefik
  - invoiceninja
depends_on:
  - invoiceninja

networks:
  invoiceninja:
  traefik:
    external: true

Nginx config:

server {
    listen 80 default_server;
    server_name invoiceninja.*;

root /var/www/app/public/;
index index.php;
charset utf-8;

location / {
    try_files $uri $uri/ /index.php?$query_string;
}

location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt  { access_log off; log_not_found off; }

location ~ \.php$ {
    fastcgi_split_path_info ^(.+\.php)(/.+)$;
    fastcgi_pass invoiceninja:9000;
    fastcgi_index index.php;
    include /etc/nginx/fastcgi_params;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    fastcgi_intercept_errors off;
    fastcgi_buffer_size 16k;
    fastcgi_buffers 4 16k;
    fastcgi_param HTTPS 1;
}

}

IN log

2021-07-04T14:10:15Z [INFO] [Entrypoint]: Initialising Invoice Ninja...
Configuration cache cleared!
Configuration cached successfully!
Configuration cache cleared!
Configuration cached successfully!
Route cache cleared!
Routes cached successfully!
Files cached successfully!
Nothing to migrate.
2021-07-04 14:10:16,621 WARN For [program:php-fpm], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
2021-07-04 14:10:16,621 WARN For [program:scheduler], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
2021-07-04 14:10:16,621 WARN For [program:queue-worker], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
2021-07-04 14:10:16,621 WARN For [program:queue-worker], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
2021-07-04 14:10:16,623 INFO supervisord started with pid 1
2021-07-04 14:10:17,626 INFO spawned: 'shutdown' with pid 72
2021-07-04 14:10:17,629 INFO spawned: 'php-fpm' with pid 73
2021-07-04 14:10:17,631 INFO spawned: 'queue-worker_00' with pid 74
2021-07-04 14:10:17,633 INFO spawned: 'queue-worker_01' with pid 75
2021-07-04 14:10:17,634 INFO spawned: 'scheduler' with pid 76
READY
[04-Jul-2021 14:10:17] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
[04-Jul-2021 14:10:17] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
[04-Jul-2021 14:10:17] NOTICE: [pool www] 'group' directive is ignored when FPM is not running as root
[04-Jul-2021 14:10:17] NOTICE: [pool www] 'group' directive is ignored when FPM is not running as root
[04-Jul-2021 14:10:17] NOTICE: fpm is running, pid 73
[04-Jul-2021 14:10:17] NOTICE: ready to handle connections
Schedule worker started successfully.

Nginx log

/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh 10-listen-on-ipv6-by-default.sh: info: can not modify /etc/nginx/conf.d/default.conf (read-only file system?) /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh /docker-entrypoint.sh: Configuration complete; ready for start up 2021/07/04 14:10:17 [notice] 1#1: using the "epoll" event method 2021/07/04 14:10:17 [notice] 1#1: nginx/1.21.0 2021/07/04 14:10:17 [notice] 1#1: built by gcc 8.3.0 (Debian 8.3.0-6) 2021/07/04 14:10:17 [notice] 1#1: OS: Linux 5.4.0-77-generic 2021/07/04 14:10:17 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576 2021/07/04 14:10:17 [notice] 1#1: start worker processes 2021/07/04 14:10:17 [notice] 1#1: start worker process 24

@david do you have any suggestions?

Have you tried the default docker-compose.yml from our repo. This will work straight out of the box.