Code Monkey home page Code Monkey logo

Comments (6)

tzw9373 avatar tzw9373 commented on August 22, 2024 1

With the new compose config it's now redirecting to the login page on successful auth with URL https://books.example.com/auth/login?callbackUrl=https://books.example.com/:3001/signin?csrf=true&error=SessionRequired.

from peppermint.

potts99 avatar potts99 commented on August 22, 2024

Yeah another users has also raised a similar issue, I think its how i've got the baseurl set up, looking into it now should have an answer shortly :)

from peppermint.

potts99 avatar potts99 commented on August 22, 2024

Hello

Could you test this for me

version: "3.1"

services:
  postgres:
    container_name: postgres
    image: postgres:latest
    restart: always
    volumes:
      - ./peppermint/db:/data/db
    environment: 
      POSTGRES_USER: peppermint
      POSTGRES_PASSWORD: 1234
      POSTGRES_DB: peppermint

  client:
    container_name: peppermint
    image: pepperlabs/peppermint:test
    ports:
      - 3001:3001
    restart: on-failure
    depends_on:
      - postgres
    environment:
      PORT: 3001
      DB_USERNAME: "peppermint"
      DB_PASSWORD: "1234"
      DB_HOST: "postgres"
      BASE_URL: "http://localhost:3001"

i'm guessing you would just need to change the base url to your reserves proxy url.
Currently setting up a linode box to test this myself

from peppermint.

potts99 avatar potts99 commented on August 22, 2024

I have this working for myself with this docker compose file -> will update main after i get from the gym

version: "3.1"

services:
  postgres:
    container_name: postgres
    image: postgres:latest
    restart: always
    volumes:
      - ./peppermint/db:/data/db
    environment:
      POSTGRES_USER: peppermint
      POSTGRES_PASSWORD: 1234
      POSTGRES_DB: peppermint

  client:
    container_name: peppermint
    image: pepperlabs/peppermint:test
    ports:
      - 3001:3001
    restart: on-failure
    depends_on:
      - postgres
    expose:
      - 3001
    environment:
      PORT: 3001
      DB_USERNAME: "peppermint"
      DB_PASSWORD: "1234"
      DB_HOST: "postgres"
      BASE_URL: "https://test.peppermint.sh/"

from peppermint.

potts99 avatar potts99 commented on August 22, 2024

Awesome I'll get this pushed to main and write some docs

from peppermint.

potts99 avatar potts99 commented on August 22, 2024

https://docs.peppermint.sh/proxy

Here is a link to the guide that i wrote which should aid in anyone trying to set up peppermint behind a sub domain

from peppermint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.