mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-15 07:00:06 +00:00
feat: update host configuration to allow external access (#218)
This commit is contained in:
@@ -7,4 +7,4 @@ SQLITE_DB_PATH=data/pocket-id.db
|
|||||||
POSTGRES_CONNECTION_STRING=postgresql://postgres:postgres@localhost:5432/pocket-id
|
POSTGRES_CONNECTION_STRING=postgresql://postgres:postgres@localhost:5432/pocket-id
|
||||||
UPLOAD_PATH=data/uploads
|
UPLOAD_PATH=data/uploads
|
||||||
PORT=8080
|
PORT=8080
|
||||||
HOST=localhost
|
HOST=0.0.0.0
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ var EnvConfig = &EnvConfigSchema{
|
|||||||
UploadPath: "data/uploads",
|
UploadPath: "data/uploads",
|
||||||
AppURL: "http://localhost",
|
AppURL: "http://localhost",
|
||||||
Port: "8080",
|
Port: "8080",
|
||||||
Host: "localhost",
|
Host: "0.0.0.0",
|
||||||
MaxMindLicenseKey: "",
|
MaxMindLicenseKey: "",
|
||||||
GeoLiteDBPath: "data/GeoLite2-City.mmdb",
|
GeoLiteDBPath: "data/GeoLite2-City.mmdb",
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user