This Container image extends the Java image.
This image contains a traccar-server installation. It allows configuration via environment variables.
- Pull from Docker Hub, download the package from Releases or build using
builder/build.sh
DATABASE_PASSWORD- Password for the database connection.
DATABASE_URL- URL of the databse in the scheme
postgresql://HOST/DATABASE.
- URL of the databse in the scheme
DATABASE_USERNAME- Username for the database connection.
EMAIL_FROM- E-mail address to send e-mails from.
EMAIL_HOST- Address of the SMTP host.
EMAIL_PORT- Port of the e-mail protocol, default
465.
- Port of the e-mail protocol, default
EMAIL_PASSWORD- Password to use for connecting to the e-mail host.
EMAIL_USERNAME- Username to use for connecting to the e-mail host.
FILTER_ACCURACY- Value for
filter.accuracyconfiguration parameter.
- Value for
FILTER_SKIP_LIMIT- Value for
filter.skipLimitconfiguration parameter.
- Value for
FRONTEND_URL- The base URL where the application is accessable.
OIDC_ADMIN_GROUP- The group in the OIDC scope
groupsto grant admin access to.
- The group in the OIDC scope
OIDC_ALLOW_GROUP- The group in the OIDC scope
groupsto restrict access to.
- The group in the OIDC scope
OIDC_CLIENT_ID- Client ID from the identity provider for OIDC.
OIDC_CLIENT_SECRET- Client secret from the identity provider for OIDC.
OIDC_FORCE- Set to
trueto only allow authentication via OIDC.
- Set to
OIDC_ISSUER_URL- Issuer URL of the identity provider.
To run for development execute:
docker compose --file docker-compose-dev.yaml up --build