From 1a673f866f6b38657c05a57f1ea2bb83a150c0f2 Mon Sep 17 00:00:00 2001 From: Luke Else Date: Fri, 16 Feb 2024 17:10:51 +0000 Subject: [PATCH] CHORE: Updated readme to container new deployment instructions --- README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3497f07..ec0243c 100644 --- a/README.md +++ b/README.md @@ -40,4 +40,27 @@ In order to run the web app, simply use the command docker-compose up -d ``` -to run the container in a detatched mode. \ No newline at end of file +to run the container in a detatched mode. + + +### Container +Alternatively, to deploy the app from the lastest published container: + +```yml +version: '3.8' + +services: + wmgzon: + container_name: "wmgzon" + image: lukeelse/wmgzon:latest + environment: + - APPSECRET=test + - ENVIRON=prod + - FILESTORE=static/assets/img/products/ + tty: true + ports: + - "8080:8080" + volumes: + - ./files:/app/$FILESTORE + restart: unless-stopped +``` \ No newline at end of file