Compose-Examples/examples/firezone/README.md

19 lines
788 B
Markdown
Raw Normal View History

2023-06-22 07:40:05 +00:00
# Reference
- https://www.firezone.dev/docs/deploy/docker
# Notes
2023-07-18 08:00:01 +00:00
1. Download the `docker-compose.yml` file from this repository.
2. Create a firezone `.env` file via the command `docker run --rm firezone/firezone bin/gen-env > .env`
3. Adjust `docker-compose.yml` and created `.env` to your needs. Especially change the environment variables `DEFAULT_ADMIN_EMAIL`, `DEFAULT_ADMIN_PASSWORD` and `EXTERNAL_URL` to secure values!
4. Proceed by executing the below commands.
2023-06-22 07:40:05 +00:00
````
docker compose run --rm firezone bin/migrate
docker compose run --rm firezone bin/create-or-reset-admin
docker compose up -d
````
2023-07-18 09:31:47 +00:00
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.