joshp23 / YOURLS-OIDC

OpenID Connect Authentication for YOURLS
GNU General Public License v3.0
7 stars 6 forks source link

make installation easier with docker and docker-compose #6

Open abdennour opened 3 years ago

abdennour commented 3 years ago

hello guys and thanks for the great effort !

I would suggest to have docker-compose.yaml which shows how to use this plugin, build it, mount it to the main app (yourls). why not running keycloak as container

Starter docker-compose.yaml

version: '3.9'

services:
  plugin:
    image: composer:1.7
  yourls:
    # tag from: https://github.com/YOURLS/charts/blob/master/charts/yourls/Chart.yaml#L5
    image: yourls:1.8.1
  keycloak:
      image: quay.io/keycloak/keycloak:14.0.0
  db:
    image:  mysql:5.7

if i got more time, i can finish it and open PR. However, this should be good starter. Please let me know if you need any support