2018-12-20 17:32:50 +01:00
|
|
|
# .env file to set up your LEMP stack with letsencrypt
|
|
|
|
|
|
|
|
#
|
|
|
|
# Network name
|
|
|
|
#
|
|
|
|
# Your container app must use a network conencted to your webproxy
|
|
|
|
# https://github.com/evertramos/docker-compose-letsencrypt-nginx-proxy-companion
|
|
|
|
#
|
|
|
|
NETWORK=webproxy
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Database Container configuration
|
|
|
|
# We recommend MySQL or MariaDB - please update docker-compose file if needed.
|
|
|
|
#
|
|
|
|
CONTAINER_DB_NAME=db
|
|
|
|
|
|
|
|
# Path to store your database
|
|
|
|
#DB_PATH=/path/to/your/local/database/folder
|
|
|
|
DB_PATH=./data/db
|
|
|
|
|
|
|
|
# Root password for your database
|
|
|
|
MYSQL_ROOT_PASSWORD=root_password
|
|
|
|
|
|
|
|
# Database name, user and password for your wordpress
|
|
|
|
MYSQL_DATABASE=database_name
|
|
|
|
MYSQL_USER=user_name
|
|
|
|
MYSQL_PASSWORD=user_password
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# PHP Settings
|
|
|
|
#
|
|
|
|
CONTAINER_PHP_NAME=php
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Webroot configuration
|
|
|
|
#
|
|
|
|
#WEBROOT_PATH=/path/to/your/webroot
|
|
|
|
WEBROOT_PATH=./data/www
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# NGINX Settings
|
|
|
|
#
|
|
|
|
CONTAINER_NGINX_NAME=nginx
|
2019-01-02 11:57:40 +01:00
|
|
|
|
2018-12-20 17:32:50 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# Host
|
|
|
|
#
|
|
|
|
# Your domain (or domains)
|
|
|
|
VIRTUAL_HOST=domain1.com,www.domain1.com
|
|
|
|
LETSENCRYPT_HOST=domain1.com,www.domain1.com
|
|
|
|
# Your email for Let's Encrypt register
|
|
|
|
LETSENCRYPT_EMAIL=your_email@domain.com
|