ajanvier/docker-polr

URL Shortening Doesn't Work On Install

Closed this issue · 1 comments

Expected Behavior

You enter the URL, click shorten and it should give you the shortened link.

Current Behavior

A red error message appears in the top right corner, saying the link I am trying to shorten already appears to be already shortened. (tried many links from youtube, facebook, google, non work locally but they do in the demo)

Possible Solution

Unaware what could be causing this. Tried on 3 different droplets.

Steps to Reproduce (for bugs)

Tired docker run and tried docker compose

  1. Create docker-compose.yml File
  2. Enter Env Variables
  3. docker compose up

or

  1. Run docker command

Your Environment

Digital Ocean Droplets
Chrome: Latest
Safari: Latest
Server: Ubuntu 18.4
Server 2: Linux Alpine Latest
Server 3: LAMP on Ubuntu 18.4

Just in case someone else has this issue, the solution is to set the APP_ADDRESS variable in docker environment:
APP_ADDRESS=shorter.example.com