kopia lustrzana https://github.com/linuxserver/docker-cloud9
				
				
				
			add http auth
							rodzic
							
								
									a29049c77e
								
							
						
					
					
						commit
						b3f84489ef
					
				
							
								
								
									
										13
									
								
								README.md
								
								
								
								
							
							
						
						
									
										13
									
								
								README.md
								
								
								
								
							|  | @ -80,8 +80,10 @@ docker create \ | |||
|   -e PGID=1000 \ | ||||
|   -e TZ=Europe/London \ | ||||
|   -e GITURL=https://github.com/linuxserver/docker-cloud9.git `#optional` \ | ||||
|   -e USERNAME= `#optional` \ | ||||
|   -e PASSWORD= `#optional` \ | ||||
|   -p 8000:8000 \ | ||||
|   -v <path to your code>:/code `#optional` \ | ||||
|   -v /path/to/your/code:/code `#optional` \ | ||||
|   -v /var/run/docker.sock:/var/run/docker.sock `#optional` \ | ||||
|   --restart unless-stopped \ | ||||
|   linuxserver/cloud9 | ||||
|  | @ -104,8 +106,10 @@ services: | |||
|       - PGID=1000 | ||||
|       - TZ=Europe/London | ||||
|       - GITURL=https://github.com/linuxserver/docker-cloud9.git #optional | ||||
|       - USERNAME= #optional | ||||
|       - PASSWORD= #optional | ||||
|     volumes: | ||||
|       - <path to your code>:/code #optional | ||||
|       - /path/to/your/code:/code #optional | ||||
|       - /var/run/docker.sock:/var/run/docker.sock #optional | ||||
|     ports: | ||||
|       - 8000:8000 | ||||
|  | @ -121,8 +125,10 @@ Container images are configured using parameters passed at runtime (such as thos | |||
| | `-p 8000` | The port for the Cloud9 web interface | | ||||
| | `-e PUID=1000` | for UserID - see below for explanation | | ||||
| | `-e PGID=1000` | for GroupID - see below for explanation | | ||||
| | `-e TZ=Europe/London` | Specify a timezone to use EG Europe/London, this is required for Radarr | | ||||
| | `-e TZ=Europe/London` | Specify a timezone to use EG Europe/London | | ||||
| | `-e GITURL=https://github.com/linuxserver/docker-cloud9.git` | Specify a git repo to checkout on first startup | | ||||
| | `-e USERNAME=` | Optionally specify a username for http auth | | ||||
| | `-e PASSWORD=` | Optionally specify a password for http auth (if USERNAME and PASSWORD are not set, there will be no http auth) | | ||||
| | `-v /code` | Optionally if you want to mount up a local folder of code instead of checking out | | ||||
| | `-v /var/run/docker.sock` | Needed if you plan to use Docker or compose commands | | ||||
| 
 | ||||
|  | @ -223,4 +229,5 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 | |||
| 
 | ||||
| ## Versions | ||||
| 
 | ||||
| * **07.02.20:** - Add optional http auth. | ||||
| * **02.06.19:** - Initial Release. | ||||
|  |  | |||
|  | @ -30,16 +30,18 @@ param_ports: | |||
|   - { external_port: "8000", internal_port: "8000", port_desc: "The port for the Cloud9 web interface" } | ||||
| param_usage_include_env: true | ||||
| param_env_vars: | ||||
|   - { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London, this is required for Radarr"} | ||||
|   - { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London"} | ||||
| 
 | ||||
| # optional params | ||||
| opt_param_usage_include_vols: true | ||||
| opt_param_volumes: | ||||
|   - { vol_path: "/code", vol_host_path: "<path to your code>", desc: "Optionally if you want to mount up a local folder of code instead of checking out" } | ||||
|   - { vol_path: "/code", vol_host_path: "/path/to/your/code", desc: "Optionally if you want to mount up a local folder of code instead of checking out" } | ||||
|   - { vol_path: "/var/run/docker.sock", vol_host_path: "/var/run/docker.sock", desc: "Needed if you plan to use Docker or compose commands" } | ||||
| opt_param_usage_include_env: true | ||||
| opt_param_env_vars: | ||||
|   - { env_var: "GITURL", env_value: "https://github.com/linuxserver/docker-cloud9.git", desc: "Specify a git repo to checkout on first startup"} | ||||
|   - { env_var: "USERNAME", env_value: "", desc: "Optionally specify a username for http auth"} | ||||
|   - { env_var: "PASSWORD", env_value: "", desc: "Optionally specify a password for http auth (if USERNAME and PASSWORD are not set, there will be no http auth)"} | ||||
| 
 | ||||
| # application setup block | ||||
| app_setup_block_enabled: true | ||||
|  | @ -48,5 +50,6 @@ app_setup_block: | | |||
| 
 | ||||
| # changelog | ||||
| changelogs: | ||||
|   - { date: "07.02.20:", desc: "Add optional http auth." } | ||||
|   - { date: "02.06.19:", desc: "Initial Release." } | ||||
| 
 | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 aptalca
						aptalca