2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 14:21:05 +00:00

fix: Fix gpg and less (#1321)

* fix: Add gpg and less

Add gpg so backup "bench --site yoursite.com backup --with-files --compress" does not fail if encryption is enabled

Add "less": fixes #1301

* fix: Add gpg and less

Add gpg so backup "bench --site yoursite.com backup --with-files --compress" does not fail if encryption is enabled

Add "less": fixes frappe#1301

* fix: Update documentation

update documentation to resemble current status

* fix: trailing whitespace

---------

Co-authored-by: Revant Nandgaonkar <revant.one@gmail.com>
This commit is contained in:
0xD0M1M0 2024-01-28 07:23:14 +01:00 committed by GitHub
parent 220db20347
commit 961453812c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 1 deletions

View File

@ -82,6 +82,8 @@ EMAIL=admin@example.com
HASHED_PASSWORD=$apr1$K.4gp7RT$tj9R2jHh0D4Gb5o5fIAzm/ HASHED_PASSWORD=$apr1$K.4gp7RT$tj9R2jHh0D4Gb5o5fIAzm/
``` ```
If Container does not deploy put the HASHED_PASSWORD in ''.
Deploy the traefik container with letsencrypt SSL Deploy the traefik container with letsencrypt SSL
```shell ```shell
@ -91,7 +93,7 @@ docker compose --project-name traefik \
-f overrides/compose.traefik-ssl.yaml up -d -f overrides/compose.traefik-ssl.yaml up -d
``` ```
This will make the traefik dashboard available on `traefik.example.com` and all certificates will reside in `/data/traefik/certificates` on host filesystem. This will make the traefik dashboard available on `traefik.example.com` and all certificates will reside in the Docker volume `cert-data`.
For LAN setup deploy the traefik container without overriding `overrides/compose.traefik-ssl.yaml`. For LAN setup deploy the traefik container without overriding `overrides/compose.traefik-ssl.yaml`.

View File

@ -26,8 +26,10 @@ RUN useradd -ms /bin/bash frappe \
libpangocairo-1.0-0 \ libpangocairo-1.0-0 \
# For backups # For backups
restic \ restic \
gpg \
# MariaDB # MariaDB
mariadb-client \ mariadb-client \
less \
# Postgres # Postgres
libpq-dev \ libpq-dev \
postgresql-client \ postgresql-client \

View File

@ -23,8 +23,10 @@ RUN useradd -ms /bin/bash frappe \
libpangocairo-1.0-0 \ libpangocairo-1.0-0 \
# For backups # For backups
restic \ restic \
gpg \
# MariaDB # MariaDB
mariadb-client \ mariadb-client \
less \
# Postgres # Postgres
libpq-dev \ libpq-dev \
postgresql-client \ postgresql-client \