mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-12-18 08:10:23 +00:00
788 B
788 B
Reference
Notes
- Download the
docker-compose.yml
file from this repository. - Create a firezone
.env
file via the commanddocker run --rm firezone/firezone bin/gen-env > .env
- Adjust
docker-compose.yml
and created.env
to your needs. Especially change the environment variablesDEFAULT_ADMIN_EMAIL
,DEFAULT_ADMIN_PASSWORD
andEXTERNAL_URL
to secure values! - Proceed by executing the below commands.
docker compose run --rm firezone bin/migrate
docker compose run --rm firezone bin/create-or-reset-admin
docker compose up -d
Note: It is recommended to run the Firezone web panel behind a reverse proxy (e.g. Traefik) if you want to expose it. Alternatively, keep it running on http://127.0.0.1:13000.