willson556 / phorge-devcontainer

9 stars 3 forks source link

Add .env vars for docker-compose Ports and URI #5

Closed ericlucit closed 3 years ago

ericlucit commented 3 years ago

This revision adds a .env that allows docker-compose to pick up its ports and the URI from a customizable .devcontainer/.env file

The instructions are added to the README as well, but generally:

`PHORGE_WEB_PORT` - Defaults to port `80`, set to something else if desired
`PHORGE_SSH_PORT` - The SSH port that phorge repos will be available on.  Defaults to `22280`
`PHORGE_BASE_URI` - The entry should match your hosts file.  Defaults to `http://phorge.localhost` - However, if you update `PHORGE_WEB_PORT` to something other than `80` you will need to update this URI to match.  e.g. if port is `8020` make this URI `http://phorge.localhost:8020`

Fixes #2

willson556 commented 3 years ago

Sorry that I haven't made any progress on this. I will definitely review this and work on the other issues before the end of the day today.

willson556 commented 3 years ago

Looks great!