Code Monkey home page Code Monkey logo

dokuwiki-deprecated's Introduction

CloudFormation Stacks to deploy a DokuWiki container in AWS. Lots still to do in terms of tightening security, dns routing and backup/restore.

On running the stack, it will do a fresh dokuwiki container install and restore the wiki content from S3.

Currently it also creates a route53 recordset pointing wiki.albertocuesta.click to the dokuwiki server ip, but it doesn't work yet because I don't own the domain anymore :P

=== Fresh install ===

docker pull bitnami/dokuwiki mkdir dokuwiki-persistence docker network create dokuwiki-tier docker run -d -p 80:80 -p 443:443 --name dokuwiki
--net dokuwiki-tier
--volume /home/ec2-user/dokuwiki-persistence:/bitnami
bitnami/dokuwiki:latest

=== Backup / Restore ===

Right now the EC2 instance has full access to the techhq-dokuwiki S3 bucket. Please tighten before going public.

From /home/ec2-user in the server running the DokuWiki container you can backup using tar to preserve permissions: sudo tar czf dokuwiki-persistence-backup.tar.gz dokuwiki-persistence aws s3 cp dokuwiki-persistence-backup.tar.gz s3://techhq-dokuwiki

From /home/ec2-user in the server running the DokuWiki container you can restore: aws s3 cp s3://techhq-dokuwiki/dokuwiki-persistence-backup.tar.gz . sudo tar xpzf dokuwiki-persistence-backup.tar.gz

dokuwiki-deprecated's People

Stargazers

 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.