Skip to content

Commit

Permalink
Merge pull request #159 from askiiart/readme-phx-host-info
Browse files Browse the repository at this point in the history
Add PHX_HOST info to README.md
  • Loading branch information
sergiotapia committed Apr 15, 2023
2 parents 0862598 + cb65d8e commit dd7b4a7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,18 @@ SECRET_KEY_BASE=YourKeyGoesHere
docker compose up -d
```

If you are going to access Magnetissimo at an address besides `localhost`, add `PHX_HOST` to your environment variables. For example, to access it at `http://192.168.0.54:4000`:

```
- PHX_HOST=192.168.0.54
```

Or to access it at `https://magnetissimo.domain.tld`:

```
- PHX_HOST=magnetissimo.domain.tld
```

**Kubernetes**
```
# Generate a secret_key with either
Expand Down

0 comments on commit dd7b4a7

Please sign in to comment.