From 89ed943899b34393f6a8dfb22f3385ff32da67ca Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Tue, 21 May 2024 01:49:43 +0200 Subject: [PATCH] Update docker-compose-deprecated.yml --- .../rxresume/docker-compose-deprecated.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/examples/rxresume/docker-compose-deprecated.yml b/examples/rxresume/docker-compose-deprecated.yml index 70fdab8..9d6ee63 100644 --- a/examples/rxresume/docker-compose-deprecated.yml +++ b/examples/rxresume/docker-compose-deprecated.yml @@ -3,6 +3,24 @@ version: "3.8" # This docker compose example targets rxresume < 4.0 # For a newer version, please see https://github.com/AmruthPillai/Reactive-Resume/tree/main/tools/compose +# Make sure that you expose both the client and server container behind the same (sub)domain, +# which is properly resolvable. Otherwise, you'll either receive DNS or CORS errors, as the domain +# cannot be resolved by the containers properly or since the Same Origin Policy (SOP) will prevent +# access from Domain A (client) to Domain B (server). So let both containers run on the same domain +# and tell your reverse proxy (here traefik) that the server container will handle all /api requests. + +# If PDF export keeps failing, you may want to enable the `extra_hosts` definition in the client's +# Docker Compose service definition. Specify your domain name and your server's IP address where +# Traefik is listening on TCP/80 and TCP/443. See this GitHub issue here: +# https://github.com/AmruthPillai/Reactive-Resume/issues/721#issuecomment-1530550167 + +# Also ensure to create a new resume always as soon as you've changed your setup or the Docker +# Compose file. Older resumes may introduce previous errors, which are false positives and only +# occur for the old resume. + +# If you use Nginx Proxy Manager as reverse proxy, may have a read here: +# https://github.com/AmruthPillai/Reactive-Resume/issues/721#issuecomment-1405283786 + services: postgres: image: postgres:alpine