jeudi 27 décembre 2018

How to set laravel app on Digital Ocean under docker?

I installed laravel 5 app on Digital Ocean Server (under kubuntu 18) using Docker So now url of mysite looks like http://NNN.NN.NNN.N:8085/public/login, where http://NNN.NN.NNN.N - is ip of my server 8085 - port I set in docker-compose.yml file :

version: '3.1'

services:

    web:
        build:
            ...
        ports:
            - 8085:80
        working_dir: ${APP_PTH_CONTAINER}

I want to include youtube video for this app, so I have to set client ID/ client secret and getting Authorized redirect URIs I have to enter Authorized domains value like :

NNN.NN.NNN.N:8085

I got error message : Invalid domain: cannot contain port.

Can you give me a hint how to salve this task? have I to use new domain for this app, like https://my.freenom.com But how to work with it as I have port set ?

Thanks!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire