-
Notifications
You must be signed in to change notification settings - Fork 0
Automatic deployment of authentication Docker container and API Docker container #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You forget to remove file From Api Folder (old api project)
//_inMemoryUsers = new Dictionary<string, string>(); | ||
//_inMemoryUsers.Add("bob", "bob"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my bob :'(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RIP ;)
# What was the purpose of this "exercice" ? | ||
|
||
The purpose of this work is to show how to automatically deploy a .NET Core API project in a Docker container and how to make it accessible through a URL. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copy/paste from another project?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It comes from my VerySimpleAPI project ;)
Every branch from https://github.com/smartcoop/demo-nginx-auth-request - Connecter à l'aperçu repository for wich the name contains “authrequest/” will be automated deployed in 2 Docker containers.
These 2 Docker containers are:
1 containing authentication API
1 containing my VerySimpleApi project
The VerySimpleApi is available only if the user is connected.
To test, you can use the existing Docker containers.
They are available to:
authentication: https://test.smartcoop.dev/authenticationserver/
API: https://test.smartcoop.dev/api/text-to-display
Note: the URL contains “test” because my branch name is “authrequest/test”.
If you want to test an automated deployment, you can create another branch containing “authrequest/”. After pushing, the deployment is automatically launched.
To authenticate you, use only your trigram (nothing else) and your password. It’s working using ldap.
It isn't important to read everything about the VerySimpleAPI in this PR.