From 9fdbe53aa985abf5b81899472eab57afd3b3f541 Mon Sep 17 00:00:00 2001 From: Jaryl Chng Date: Fri, 12 Apr 2024 12:49:42 +0800 Subject: [PATCH] simplified examples and updated README.md --- README.md | 7 +++++++ examples/lldap/{conf => }/authproxy.cfg | 0 examples/lldap/docker-compose.yml | 4 +--- 3 files changed, 8 insertions(+), 3 deletions(-) rename examples/lldap/{conf => }/authproxy.cfg (100%) diff --git a/README.md b/README.md index 1db49c9..e7d64eb 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,13 @@ # Volumes - /app/conf/authproxy.cfg - configuration file (https://duo.com/docs/authproxy_reference) +Note: It is recommended to have +```toml +[main] +log_stdout=true +``` +if you would like Docker to capture logs. + # Deploying ## Terminal ```bash diff --git a/examples/lldap/conf/authproxy.cfg b/examples/lldap/authproxy.cfg similarity index 100% rename from examples/lldap/conf/authproxy.cfg rename to examples/lldap/authproxy.cfg diff --git a/examples/lldap/docker-compose.yml b/examples/lldap/docker-compose.yml index 4a6b523..e218f0c 100644 --- a/examples/lldap/docker-compose.yml +++ b/examples/lldap/docker-compose.yml @@ -1,8 +1,6 @@ services: lldap: image: lldap/lldap:stable - ports: - - "3890:3890" environment: - LLDAP_JWT_SECRET=SAMPLE_JWT_SECRET - LLDAP_KEY_SEED=SAMPLE_KEY_SEED @@ -12,6 +10,6 @@ services: ports: - "1812:1812" volumes: - - ./conf/authproxy.cfg:/app/conf/authproxy.cfg + - ./authproxy.cfg:/app/conf/authproxy.cfg depends_on: - lldap