-
Notifications
You must be signed in to change notification settings - Fork 21
Description
This is more of a group troubleshooting effort / possibly suggestion
When you reassign ports in the default docker compose
services:
backend:
image: ghcr.io/adn8naiagent/f1replaytiming-backend:latest
ports:
- "8000:8000"
environment:
- FRONTEND_URL=http://localhost:3000
- DATA_DIR=/data
volumes:
- f1data:/data
- f1cache:/data/fastf1-cache
frontend:
image: ghcr.io/adn8naiagent/f1replaytiming-frontend:latest
ports:
- "3000:3000"
depends_on:
- backend
volumes:
f1data:
f1cache:
away from 3000:3000 and 8000:8000 issues arise as it requires a passphrase:
Enter passphrase to continue
Additionally, when you reverse proxy this (I am using cloudflare tunnels) it also has the same issues.
It continues to have the same issues even when I have moved other services off of 3000 and 8000 and leave this on default.
I have tried keeping default FRONTEND_URL=http://localhost:3000, does not work
I have tried changing the FRONTEND_URL=http://f1.domain.com, does not work
I have also tried to change the FRONTEND_URL=http://192.168.1.1:3000 for example, does not work
I have also tried assigning AUTH_PASSPHRASE=test and that also does not allow me to proceed
test
I have tried changing all of the above urls to https, does not make a difference
It does work locally on the machine when I remote in and access it via http://localhost:3000
No passphrase required and pops you into the correct screen
I am destroying the previous container and image each time to prevent any lingering configs, etc.
Curious if I am doing something wrong? or is this something hard coded that needs to be changed?