Skip to content
Snippets Groups Projects
Commit f8f8b729 authored by Jonas Leder's avatar Jonas Leder
Browse files

added github oauth

parent 277c78f8
No related branches found
No related tags found
No related merge requests found
Pipeline #41 passed
......@@ -41,8 +41,10 @@ deploy:
- sudo apt-get install -y python-pip #install pip, this is needed to install docker-compose in the next step
- sudo pip install docker-compose #Install docker-compose with pip
- replace "5000:5000" "5003:5000" -- docker-compose.yml #replace in docker-compose some settings. Variables will be replaced on execute.
- replace "domains=" "$domains" -- docker-compose.yml #The domains I use for my url shorter
- replace "recaptcha_private=" "$recaptcha_private" -- docker-compose.yml #Recaptcha keys for protecting the create form from attacks
- replace "recaptcha_public=" "$recaptcha_public" -- docker-compose.yml
- replace "domains=" "domains=$domains" -- docker-compose.yml #The domains I use for my url shorter
- replace "recaptcha_private=" "recaptcha_private=$recaptcha_private" -- docker-compose.yml #Recaptcha keys for protecting the create form from attacks
- replace "recaptcha_public=" "recaptcha_public=$recaptcha_public" -- docker-compose.yml
- replace "GITHUB_CLIENT_ID=" "GITHUB_CLIENT_ID=$GITHUB_CLIENT_ID" -- docker-compose.yml
- replace "GITHUB_CLIENT_SECRET=" "GITHUB_CLIENT_SECRET=$GITHUB_CLIENT_SECRET" -- docker-compose.yml
- sudo docker-compose up -d #Start the new container
environment: master
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment