{"id":21851937,"url":"https://github.com/ulbora/docker_ulbora_oauth2_server","last_synced_at":"2025-03-21T18:27:35.972Z","repository":{"id":87394534,"uuid":"86251256","full_name":"Ulbora/docker_ulbora_oauth2_server","owner":"Ulbora","description":"Ulbora Oauth2 Server on Docker","archived":false,"fork":false,"pushed_at":"2018-01-21T17:37:07.000Z","size":6181,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-26T13:22:32.927Z","etag":null,"topics":["oauth","oauth2","oauth2-provider","oauth2-server"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ulbora.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-26T17:29:22.000Z","updated_at":"2017-03-26T22:21:25.000Z","dependencies_parsed_at":"2023-05-07T11:30:55.580Z","dependency_job_id":null,"html_url":"https://github.com/Ulbora/docker_ulbora_oauth2_server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2Fdocker_ulbora_oauth2_server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2Fdocker_ulbora_oauth2_server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2Fdocker_ulbora_oauth2_server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2Fdocker_ulbora_oauth2_server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ulbora","download_url":"https://codeload.github.com/Ulbora/docker_ulbora_oauth2_server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244846811,"owners_count":20520199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["oauth","oauth2","oauth2-provider","oauth2-server"],"created_at":"2024-11-28T01:12:39.431Z","updated_at":"2025-03-21T18:27:35.944Z","avatar_url":"https://github.com/Ulbora.png","language":"Shell","readme":"# Docker Ulbora Oauth2 Server\n- 1.0.9, latest[ (Dockerfile)](https://github.com/Ulbora/docker_ulbora_oauth2_server/blob/master/Dockerfile)\n\nThis is Docker Ulbora Oauth2 Server running on Alpine\n\n\n# Running\n```\ndocker run -p some-port:8080 --name ulbora-oauth2-server \\\n--env DATABASE_USER_NAME=some-user-name \\\n--env DATABASE_USER_PASSWORD=some-user-password \\\n--env DATABASE_NAME=some-db-name \\\n--env DATABASE_POOL_SIZE=pool-size \\\n--env AUTHENTICATION_SERVICE=auth-server \\\n--env PORT=8080 \\\n--link some-mysql-container-name:mysql -it  \\\nulboralabs/oauth2server sh\n```\n#### or as a daemon (suggested)\n```\ndocker run -p some-port:8080 --name ulbora-oauth2-server \\\n--env DATABASE_USER_NAME=some-user-name \\\n--env DATABASE_USER_PASSWORD=some-user-password \\\n--env DATABASE_NAME=some-db-name \\\n--env DATABASE_POOL_SIZE=pool-size \\\n--env AUTHENTICATION_SERVICE=auth-server \\\n--env PORT=8080 \\\n--link some-mysql-container-name:mysql -d  \\\nulboralabs/oauth2server sh\n```\n# Note\n### The link to your mysql container should always end with :mysql as shown above\n```\n--link some-mysql-container-name:mysql\n```\nThe :mysql is an alias that produces an environment variable named MYSQL_PORT_3306_TCP_ADDR inside the web container.\nIf :mysql were to be changed to :mysqldb, then the environment variable would be named MYSQLDB_PORT_3306_TCP_ADDR and \nthe User Micro Service would not connect the the mysql database. The User Micro Service needs the environment variable to be \nnamed MYSQL_PORT_3306_TCP_ADDR.\n\n### Ports on the host machine should be different for each container\n#### Example: \n#### -p host-port-number:container-port-number\n```\n-p 3001:8080 \n-p 3002:8080 \n-p 3003:8080\n```\n\n# Connect to running instance\n```\ndocker exec -it ulboralabs/oauth2server sh\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulbora%2Fdocker_ulbora_oauth2_server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fulbora%2Fdocker_ulbora_oauth2_server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulbora%2Fdocker_ulbora_oauth2_server/lists"}