mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-02-12 03:18:15 +00:00
19 lines
776 B
Markdown
19 lines
776 B
Markdown
# Reference
|
|
|
|
- https://www.firezone.dev/docs/deploy/docker
|
|
|
|
# Notes
|
|
|
|
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.
|
|
|
|
````
|
|
docker compose run --rm firezone bin/migrate
|
|
docker compose run --rm firezone bin/create-or-reset-admin
|
|
docker compose up -d
|
|
````
|
|
|
|
Note: This compose setup requires an already existing dockerized Traefik reverse proxy. Alternatively, remove the Traefik labels and directly use TCP/13000 (HTTP).
|