mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-01-30 21:23:49 +00:00
.. | ||
docker-compose.yml | ||
README.md |
Reference
https://github.com/AmruthPillai/Reactive-Resume
Notes
Make sure that you expose both the client and server container behind the same (sub)domain.
Otherwise, you'll receive CORS errors, as the Same Origin Policy (SOP) will prevent access from Domain A (client) to Domain B (server).
So let both run on the same domain and tell your reverse proxy (here traefik) that the server container will handle all /api requests.
If you use Nginx Proxy Manager as reverse proxy, may have a read here.