Skip to main content

Deployment

Pasolo is available at GitHub Release as a single binary, or as Container Image. To customize deployment, use environment variable.

Required Environment Variable

KeyDescriptionExample
USER_IDYour user id as the identifier for Passkey promptemail@your.domain
USER_DISPLAY_NAMEDisplay name on your passkey identifierJohn Doe
USER_NAMEYour username as identifier for Passkey promptjohndoe
SERVER_PORTPasolo server port"8080"
SERVER_DOMAINYour domain for authentication cookieyour.domain
SERVER_PROTOCOLPasolo server protocol. It is recommended to use httpshttps
COOKIE_NAMEAuthentication cookie namepasolo-auth
COOKIE_SECRETJWT secretsecret
ENCRYPTION_KEYSession and user data encryption keysecret
PASSKEY_ORIGINPasolo server origin. Make sure this origin matches pasolo domain to make the passkey workshttps://pasolo.your.domain
STORE_DATADIRPath to store persistent data/secret

Persistent Volumes

Pasolo also required persistent volume to store login session, as well as registered passkeys. STORE_DATADIR environment variable configures where the data should be stored.

# example docker-compose.yml
services:
auth:
image: ghcr.io/dirathea/pasolo:latest
env_file:
- .env
environment:
STORE_DATADIR: /secret
ports:
- 8080
volumes:
- secret:/secret

volumes:
secret: