trypost/docker
Falconiere Barbosa a2a7f44c9a
refactor(linkedin): drive OAuth scopes from LINKEDIN_SCOPES env via config
Replace the additive LINKEDIN_EXTRA_SCOPES approach with a single
full-override env var per flow, exploded into an array at the config
layer (config/trypost.php -> platforms.linkedin{,-page}.scopes). This
keeps env values as plain comma-separated strings, lets self-hosters
override the entire set in one place, and removes the controller-side
scope-merge logic.

- config/trypost.php: explode LINKEDIN_SCOPES / LINKEDIN_PAGE_SCOPES
  into the scopes arrays (deprecated r_basicprofile stays out of the
  personal default)
- LinkedInController: drop resolveScopes(), read config scopes directly
- LinkedInPageController: drop the hardcoded $scopes property, read
  config scopes at both call sites
- tests: drive the connect scope assertions from config overrides
- .env.example, docker/.env.docker.example: document LINKEDIN_SCOPES
  and LINKEDIN_PAGE_SCOPES
2026-06-10 15:04:57 -03:00
..
.env.docker.example refactor(linkedin): drive OAuth scopes from LINKEDIN_SCOPES env via config 2026-06-10 15:04:57 -03:00
Dockerfile fix(docker): production build/runtime fixes from homelab deploy 2026-05-12 23:44:55 -03:00
entrypoint.sh fix(docker): production build/runtime fixes from homelab deploy 2026-05-12 23:44:55 -03:00
nginx.conf fix(docker): add Reverb WebSocket proxy to nginx 2026-05-12 23:44:55 -03:00
php.dev.ini fix(docker): drop stripe envs and bump upload limits to 1G 2026-05-12 23:44:55 -03:00
php.prod.ini fix(docker): drop stripe envs and bump upload limits to 1G 2026-05-12 23:44:55 -03:00
postgres-init.sh feat(docker): add multi-stage Dockerfile with dev and production targets 2026-05-12 23:44:55 -03:00
supervisord.dev.conf feat(docker): add multi-stage Dockerfile with dev and production targets 2026-05-12 23:44:55 -03:00
supervisord.prod.conf feat(docker): add multi-stage Dockerfile with dev and production targets 2026-05-12 23:44:55 -03:00