mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-01-09 16:36:26 +00:00
docs: explain SITE_NAME
[skip travis]
This commit is contained in:
parent
6a83a9d8cc
commit
e06c30a0ee
@ -34,12 +34,12 @@ To get started, copy the existing `env-local` or `env-production` file to `.env`
|
|||||||
- `MARIADB_HOST=mariadb`
|
- `MARIADB_HOST=mariadb`
|
||||||
- Sets the hostname to `mariadb`. This is required if the database is managed by the containerized MariaDB instance.
|
- Sets the hostname to `mariadb`. This is required if the database is managed by the containerized MariaDB instance.
|
||||||
- In case of a separately managed database setups, set the value to the database's hostname/IP/domain.
|
- In case of a separately managed database setups, set the value to the database's hostname/IP/domain.
|
||||||
- `SITE_NAME=mysite.localhost`
|
- `SITE_NAME=erp.example.com`
|
||||||
- Creates this site after starting all services and installs ERPNext.
|
- Creates this site after starting all services and installs ERPNext. Site name is domain name that resolves. e.g. `erp.example.com` or `mysite.localhost`
|
||||||
- ``SITES=`${SITE_NAME}` ``
|
- ``SITES=`erp.example.com` ``
|
||||||
- List of sites that are part of the deployment "bench" Each site is separated by a comma(,) and quoted in backtick (`). By default site created by ``SITE_NAME`` variable is added here.
|
- List of sites that are part of the deployment "bench" Each site is separated by a comma(,) and quoted in backtick (`). By default site created by ``SITE_NAME`` variable is added here.
|
||||||
- If LetsEncrypt is being setup, make sure that the DNS for all the site's domains correctly point to the current instance.
|
- If LetsEncrypt is being setup, make sure that the DNS for all the site's domains correctly point to the current instance.
|
||||||
- `LETSENCRYPT_EMAIL=your.email@your.domain.com`
|
- `LETSENCRYPT_EMAIL=email@example.com`
|
||||||
- Email for LetsEncrypt expiry notification. This is only required if you are setting up LetsEncrypt.
|
- Email for LetsEncrypt expiry notification. This is only required if you are setting up LetsEncrypt.
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
|
@ -31,7 +31,7 @@ docker run \
|
|||||||
|
|
||||||
Environment Variables needed:
|
Environment Variables needed:
|
||||||
|
|
||||||
- `SITE_NAME`: name of the new site to create.
|
- `SITE_NAME`: name of the new site to create. Site name is domain name that resolves. e.g. `erp.example.com` or `erp.localhost`.
|
||||||
- `DB_ROOT_USER`: MariaDB Root user.
|
- `DB_ROOT_USER`: MariaDB Root user.
|
||||||
- `MYSQL_ROOT_PASSWORD`: In case of the MariaDB docker container use the one set in `MYSQL_ROOT_PASSWORD` in previous steps. In case of a managed database use the appropriate password.
|
- `MYSQL_ROOT_PASSWORD`: In case of the MariaDB docker container use the one set in `MYSQL_ROOT_PASSWORD` in previous steps. In case of a managed database use the appropriate password.
|
||||||
- `MYSQL_ROOT_PASSWORD_FILE` - When the MariaDB root password is stored using docker secrets.
|
- `MYSQL_ROOT_PASSWORD_FILE` - When the MariaDB root password is stored using docker secrets.
|
||||||
|
Loading…
Reference in New Issue
Block a user