Giter Site home page Giter Site logo

owncloud_gce's Introduction

owncloud for GCE deployment

This project contain terraform script and ansible playbooks for deploy owncloud on GCE

Terraform

Prerequisites

  • google cloud engine account
  • created project
  • installed gcloud && terraform
  • terraform init in the terraform directory

Using

  • go to terraform directory
  • create your own terraform.tfvars based on terraform.tfvars.example
  • run terraform apply

Expected results

  • google compute instance will be created
  • google static IP (premium) will be created
  • google vompute firewall rules will be created (80, 443 and 22 tcp)

Ansible

Prerequisites

Using

  • go to ansible directory
  • create your own vars.yml based on vars.yml.example
  • run ansible-playbook playbooks/infra.yml
  • run ansible-playbook playbooks/deploy.yml

Expected results

  • docker and docker-compose will be installed on the host instance
  • owncloud will be installed
  • nginx as a proxy will be installed

post-install

  • create A type of DNS record
  • ensure that you can see you instance by ping example.org
  • go to the host using command: ssh [email protected] -i ~/.ssh/username (You must use ssh_user_name from terraform/terraform.tfvars)
  • execute initial script for lets encrypt: ./init-letsencrypt.sh

To do

  • remove constant from ansible/roles/docker/tasks/config_docker.yml (name: username)

Used resource or/and projects:

owncloud_gce's People

Contributors

mkosterin avatar

Stargazers

nk23x avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.