Getting started doesn't work https://docs.fief.dev/getting-started/local-instance/
I tried running the following generated docker cmd:
docker run \
--name fief-server \
-p 8000:8000 \
-d \
-e "SECRET=XXX" \
-e "FIEF_CLIENT_ID=XXX" \
-e "FIEF_CLIENT_SECRET=XXX" \
-e "ENCRYPTION_KEY=XXX=" \
-e "PORT=8000" \
-e "FIEF_DOMAIN=localhost:8000" \
-e "[email protected]" \
-e "FIEF_MAIN_USER_PASSWORD=MiertNemJo99?" \
-e "CSRF_COOKIE_SECURE=False" \
-e "SESSION_DATA_COOKIE_SECURE=False" \
-e "USER_LOCALE_COOKIE_SECURE=False" \
-e "LOGIN_HINT_COOKIE_SECURE=False" \
-e "LOGIN_SESSION_COOKIE_SECURE=False" \
-e "REGISTRATION_SESSION_COOKIE_SECURE=False" \
-e "SESSION_COOKIE_SECURE=False" \
-e "FIEF_ADMIN_SESSION_COOKIE_SECURE=False" \
ghcr.io/fief-dev/fief:latest
Which runs a docker image crashes with the following logs:
# cat supervisord.log
2024-12-26 21:01:49,693 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
2024-12-26 21:01:49,694 INFO supervisord started with pid 1
2024-12-26 21:01:50,704 INFO spawned: 'fief-server' with pid 7
2024-12-26 21:01:50,709 INFO spawned: 'fief-worker' with pid 8
2024-12-26 21:01:50,714 INFO spawned: 'redis' with pid 9
2024-12-26 21:01:51,366 WARN exited: fief-server (exit status 1; not expected)
2024-12-26 21:01:51,366 WARN exited: fief-worker (exit status 1; not expected)
2024-12-26 21:01:52,375 INFO spawned: 'fief-server' with pid 15
2024-12-26 21:01:52,379 INFO spawned: 'fief-worker' with pid 16
2024-12-26 21:01:52,380 INFO success: redis entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-12-26 21:01:52,979 WARN exited: fief-worker (exit status 1; not expected)
2024-12-26 21:01:52,984 WARN exited: fief-server (exit status 1; not expected)
2024-12-26 21:01:54,994 INFO spawned: 'fief-server' with pid 17
2024-12-26 21:01:54,997 INFO spawned: 'fief-worker' with pid 18
2024-12-26 21:01:55,596 WARN exited: fief-worker (exit status 1; not expected)
2024-12-26 21:01:55,596 WARN exited: fief-server (exit status 1; not expected)
2024-12-26 21:01:58,621 INFO spawned: 'fief-server' with pid 19
2024-12-26 21:01:58,626 INFO spawned: 'fief-worker' with pid 20
2024-12-26 21:01:59,217 WARN exited: fief-server (exit status 1; not expected)
2024-12-26 21:01:59,217 WARN exited: fief-worker (exit status 1; not expected)
2024-12-26 21:02:00,218 INFO gave up: fief-server entered FATAL state, too many start retries too quickly
2024-12-26 21:02:00,219 INFO gave up: fief-worker entered FATAL state, too many start retries too quickly
Following the quickstart guide works.
copy pasted from quickstart
Add any other context about the problem here.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too