Closed ushieru closed 6 months ago
I don't think there is need for magic env variables. To specify a server address you can use the --http
and --https
flags.
Env variables will require also extra documentation and could result in collisions if we don't prefix them.
Use port env by default when present.
https://github.com/pocketbase/pocketbase/blob/20653ef786db55dc77ad13461a659a0e5a960083/cmd/serve.go#L33C1-L37C5.
This can help make it easier to deploy with docker on platforms that give us a random port.