diff --git a/examples/firezone/.env b/examples/firezone/.env new file mode 100644 index 0000000..f01fde5 --- /dev/null +++ b/examples/firezone/.env @@ -0,0 +1,28 @@ +VERSION=latest + +# Change these settings +EXTERNAL_URL=https://firezone.example.com +DEFAULT_ADMIN_EMAIL=admin@example.com +DEFAULT_ADMIN_PASSWORD=ins4vOVm9RwuiY4j + +GUARDIAN_SECRET_KEY=qAWbvgyHUQVgRtF+JaJseNIt779CLADuYZdWfXPy4R6zQ51wom0SJtpvEVIGYKH0 +SECRET_KEY_BASE=lThlZfb7E79kgKdg7q9e2jf/XF7VXSg/sFFi6xD7CUhVOybLhkYPyeYbFmIJ3Nv0 +LIVE_VIEW_SIGNING_SALT=+lKcWppaW5GPqfYupk8qjuAfWuuHDxRA +COOKIE_SIGNING_SALT=i+nxqzyT +COOKIE_ENCRYPTION_SALT=CyMASGO+ +DATABASE_ENCRYPTION_KEY=ftVUOP6G7twvORBaxVR1Z1d8gaKeJMeOIOtR+Zc1sIs= +DATABASE_PASSWORD=cN8IrZTSBMgcu++k + +# The ability to change the IPv4 and IPv6 address pool will be removed +# in a future Firezone release in order to reduce the possible combinations +# of network configurations we need to handle. +# +# Due to the above, we recommend not changing these unless absolutely +# necessary. +WIREGUARD_IPV4_NETWORK=100.64.0.0/10 +WIREGUARD_IPV4_ADDRESS=100.64.0.1 +WIREGUARD_IPV6_NETWORK=fd00::/106 +WIREGUARD_IPV6_ADDRESS=fd00::1 + +#PHOENIX_EXTERNAL_TRUSTED_PROXIES=["192.168.178.0/24"] +#PHOENIX_PRIVATE_CLIENTS=["192.168.0.0/24"] diff --git a/examples/firezone/README.md b/examples/firezone/README.md index 6798d21..40750f5 100644 --- a/examples/firezone/README.md +++ b/examples/firezone/README.md @@ -4,10 +4,9 @@ # Notes -1. Download the `docker-compose.yml` and `env.example` file from this repository. -2. Adjust the compose file to your needs. -3. Renamte the `env.example` file to `.env` and adjust to your needs. Especially change the default secrets! -5. Proceed by executing the below commands. +1. Download the `docker-compose.yml` and `.env` file from this repository. +2. Adjust both files to your needs. Especially change the default secrets! +3. Proceed by executing the below commands. ```` docker compose run --rm firezone bin/migrate