Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

add http auth #12

Merged
merged 1 commit into from
Feb 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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 |

Expand Down Expand Up @@ -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.
7 changes: 5 additions & 2 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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." }