Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Deployment #10

Open
5 tasks
RohrerF opened this issue Apr 19, 2019 · 8 comments
Open
5 tasks

Deployment #10

RohrerF opened this issue Apr 19, 2019 · 8 comments

Comments

@RohrerF
Copy link
Collaborator

RohrerF commented Apr 19, 2019

  • Decide where to host the container and the DB
  • Setup Database
  • Deploy Container
  • Setup automatic deployment
  • Add URL of deployed API to README.md
@panmona
Copy link
Member

panmona commented Apr 19, 2019

Can we somehow share the Azure subscription?
(Assuming we will host on Azure.)

@RohrerF
Copy link
Collaborator Author

RohrerF commented Apr 19, 2019

so both of us can modify the ressource?

@panmona
Copy link
Member

panmona commented Apr 27, 2019

I quickly spun a DigitalOcean droplet for testing this service out.
Really like it so far: http://157.230.182.239:5023/playground/
We could continue with that or use something else. (Have to figure out how we can automatically deploy/update these and figure out how to correctly figure the DNS to use our domain name. Connecting to the Remote MongoDB is easy with SSH tunnelling.)

If we want to go with Azure this would probably be the way to go: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/docker-compose-quickstart

@panmona
Copy link
Member

panmona commented Apr 27, 2019

DNS also set up:
http://backend.playtictactoe.xyz:5023/playground/

Need to figure out https.

@panmona
Copy link
Member

panmona commented Apr 27, 2019

I guess https has to be configured in the api aswell and isn't right now?
The configurations look correct.

@panmona
Copy link
Member

panmona commented Apr 29, 2019

For the deployment:
Shouldn't the Dockerfile also be included in the releaseBuild folder?
image
Or how can this be accessed from the release?

@RohrerF
Copy link
Collaborator Author

RohrerF commented Apr 29, 2019

The docker file itself does nothing. Its just instructions for how to build and run an image
Can't you use the pushed version from the docker hub? why do you need to build the image again?

@panmona
Copy link
Member

panmona commented Apr 29, 2019

That's true. We should do that instead.
Will try that later.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants