From f1a586e89281de3ade0978fbad6769e93ded7d4e Mon Sep 17 00:00:00 2001 From: Britt Gresham Date: Thu, 12 Dec 2024 12:22:15 -0800 Subject: [PATCH] Update docker compose example --- docker-compose.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index f02d99a..8082eb9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,15 +1,18 @@ services: shrls: + # Uncomment to build from source + #build: + # context: . image: ghcr.io/demophoon/shrls:latest environment: SHRLS_DEFAULT_REDIRECT: "https://www.brittg.com/" SHRLS_UPLOAD_DIRECTORY: "/uploads" - SHRLS_USERNAME: "shrls" - SHRLS_PASSWORD: "example" + SHRLS_USERNAME: "admin" + SHRLS_PASSWORD: "changeMe!" # Uncomment to use mongodb backend # SHRLS_MONGO_CONNECTION_STRING: "mongodb://mongo:password@mongodb:27017" ports: - - "3000:3000" + - "5000:3000" volumes: - "${PWD}/config:/config" - "${PWD}/uploads:/uploads"