Giter Site home page Giter Site logo

docker-koken-letsencrypt's Introduction

Docker Koken Let's Encrypt

A docker setup for koken, a content management and web site publishing for photographers.

This setup integrates into the docker-compose-letsencrypt-nginx-proxy-companion: We assume that another service is terminating the SSL. This setup is intended for servers that run multiple services on one machine.

How to use it

  1. Setup the docker-compose-letsencrypt-nginx-proxy-companion

  2. Clone the repository git clone https://github.com/pspoerri/docker-koken-letsencrypt.git

  3. Make a copy of .env.sample, rename it to .env and adapt it to your needs.

# The name of the container
CONTAINER_NAME=koken
# Domain that koken should run on
DOMAIN=example.com

# Koken data directory. Make sure the folder is different than the MYSQL_DATA_DIR
KOKEN_DATA_DIR=./data/koken

# Mysql/Mariadb data directory. Make sure the folder is different than the KOKEN_DATA_DIR
MYSQL_DATA_DIR=./data/mysql

# Mysql Root Password. Please regenerate (you can generate password with pwgen e.g. pwgen -s 32)
MYSQL_ROOT_PASSWORD=n1Pijff8y3BZ2QIQx6aMSx4oR9ad0DPk

# Mysql database for koken
MYSQL_DATABASE=koken

# Mysql user for koken
MYSQL_USER=koken

# Mysql password for koken. Please regenerate (you can generate password with pwgen e.g. pwgen -s 32)
MYSQL_PASSWORD=b5TcpAnQSTjjYWJ3FwkrCT4UnwIC6WG3

# EMail for Let's encrypt
[email protected]

# The network for the docker-compose-letsencrypt-nginx-proxy-companion 
NETWORK=webproxy

Please note that the setup only supports one domain name. If you want to support multiple domains then you will need to adapt the docker-compose.yml file.

  1. Start nginx by running ./start.sh

Commands

  • database_backup.sh to create a backup of the database
  • database_restore.sh to restore the backup of the database untested, use at your own risk

Workarounds integrated into this Docker setup

Attribution

This image was inspired by the following docker images:

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.