forked from mirrors/amnezia-wg-easy
		
	remove PASSWORD env unused and replace by PASSWORD_HASH (#1229)
This commit is contained in:
		
						commit
						a3c5cf359f
					
				
					 3 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
					@ -103,7 +103,6 @@ These options can be configured by setting environment variables using `-e KEY="
 | 
				
			||||||
| `PORT` | `51821` | `6789` | TCP port for Web UI.                                                                                                                                 |
 | 
					| `PORT` | `51821` | `6789` | TCP port for Web UI.                                                                                                                                 |
 | 
				
			||||||
| `WEBUI_HOST` | `0.0.0.0` | `localhost` | IP address web UI binds to.                                                                                                                          |
 | 
					| `WEBUI_HOST` | `0.0.0.0` | `localhost` | IP address web UI binds to.                                                                                                                          |
 | 
				
			||||||
| `PASSWORD_HASH` | - | `$2y$05$Ci...` | When set, requires a password when logging in to the Web UI. See [How to generate an bcrypt hash.md]("https://github.com/wg-easy/wg-easy/blob/master/How_to_generate_an_bcrypt_hash.md") for know how generate the hash. |
 | 
					| `PASSWORD_HASH` | - | `$2y$05$Ci...` | When set, requires a password when logging in to the Web UI. See [How to generate an bcrypt hash.md]("https://github.com/wg-easy/wg-easy/blob/master/How_to_generate_an_bcrypt_hash.md") for know how generate the hash. |
 | 
				
			||||||
| `PASSWORD` (deprecated) | - | `foobar123` | When set, requires a password when logging in to the Web UI. *(Not used if `PASSWORD_HASH` is set)*                                                  |
 | 
					 | 
				
			||||||
| `WG_HOST` | - | `vpn.myserver.com` | The public hostname of your VPN server.                                                                                                              |
 | 
					| `WG_HOST` | - | `vpn.myserver.com` | The public hostname of your VPN server.                                                                                                              |
 | 
				
			||||||
| `WG_DEVICE` | `eth0` | `ens6f0` | Ethernet device the wireguard traffic should be forwarded through.                                                                                   |
 | 
					| `WG_DEVICE` | `eth0` | `ens6f0` | Ethernet device the wireguard traffic should be forwarded through.                                                                                   |
 | 
				
			||||||
| `WG_PORT` | `51820` | `12345` | The public UDP port of your VPN server. WireGuard will listen on that (othwise default) inside the Docker container.                                 |
 | 
					| `WG_PORT` | `51820` | `12345` | The public UDP port of your VPN server. WireGuard will listen on that (othwise default) inside the Docker container.                                 |
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,5 +5,5 @@ services:
 | 
				
			||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
      - ./src/:/app/
 | 
					      - ./src/:/app/
 | 
				
			||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
      # - PASSWORD=p
 | 
					      # - PASSWORD_HASH=p
 | 
				
			||||||
      - WG_HOST=192.168.1.233
 | 
					      - WG_HOST=192.168.1.233
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -12,7 +12,6 @@ services:
 | 
				
			||||||
      - WG_HOST=raspberrypi.local
 | 
					      - WG_HOST=raspberrypi.local
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # Optional:
 | 
					      # Optional:
 | 
				
			||||||
      # - PASSWORD=foobar123 (deprecated, see readme)
 | 
					 | 
				
			||||||
      # - PASSWORD_HASH=$$2y$$10$$hBCoykrB95WSzuV4fafBzOHWKu9sbyVa34GJr8VV5R/pIelfEMYyG (needs double $$, hash of 'foobar123'; see "How_to_generate_an_bcrypt_hash.md" for generate the hash)
 | 
					      # - PASSWORD_HASH=$$2y$$10$$hBCoykrB95WSzuV4fafBzOHWKu9sbyVa34GJr8VV5R/pIelfEMYyG (needs double $$, hash of 'foobar123'; see "How_to_generate_an_bcrypt_hash.md" for generate the hash)
 | 
				
			||||||
      # - PORT=51821
 | 
					      # - PORT=51821
 | 
				
			||||||
      # - WG_PORT=51820
 | 
					      # - WG_PORT=51820
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue