Skip to content

Instantly share code, notes, and snippets.

View trisongz's full-sized avatar

trisongz

View GitHub Profile
@trisongz
trisongz / config.env
Created May 10, 2022 20:00
Fief Server K8s Deployment [Kustomize]
SECRET=....
FIEF_CLIENT_ID=...
FIEF_CLIENT_SECRET=...
ENCRYPTION_KEY=...
PORT=8000
ALLOW_ORIGIN_REGEX=https://*
FORWARDED_ALLOW_IPS=*
# If you want to use a nested subdomain
@trisongz
trisongz / Dockerfile
Created May 10, 2022 19:42
Fief Server K8 Container
FROM ghcr.io/fief-dev/fief:latest
COPY ./start.sh /start.sh
COPY ./start_fief.py /start_fief.py
RUN chmod +x /start.sh && \
pip install anyio
CMD [ "sh", "-c", "/start.sh" ]