Skip to content

Commit

Permalink
add missing base_url config option to config file
Browse files Browse the repository at this point in the history
  • Loading branch information
stv0g committed Apr 4, 2022
1 parent dd35d7d commit b2dbfb9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ All settings from the configuration file can also be set via environment variabl
| :-- | :-- | :-- |
| `GOSE_LISTEN` | `":8080"` | Listen address and port of Gose |
| `GOSE_BASE_URL` | `"http://localhost:8080"` | Base URL at which Gose is accessible |
| `GOSE_STATIC` | `"./dist"` | Directory of frontend assets if not bundled |
| `GOSE_STATIC` | `"./dist"` | Directory of frontend assets if not bundled into the binary |
| `GOSE_BUCKET` | `gose-uploads` | Name of S3 bucket |
| `GOSE_ENDPOINT` | `s3.0l.de` | Hostname of S3 server |
| `GOSE_REGION` | `s3` | Region of S3 server |
Expand Down
7 changes: 7 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# The ip:port combination at which the backend should listen
listen: ":8080"

# The public facing address of the backend
base_url: http://localhost:8080

# Directory of frontend assets if not bundled into the binary
static: ./dist

# All settings from the servers section can also be used in the global section
# to provide defaults across all configured servers. E.g.
max_upload_size: 1TB
Expand Down

0 comments on commit b2dbfb9

Please sign in to comment.