From 523aa3024746834bcd1c59345e1f52f6c663872c Mon Sep 17 00:00:00 2001 From: Sam Wing Date: Sun, 10 Nov 2019 13:48:59 -0500 Subject: [PATCH] Add docker and docker-compose to readme --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 2f190f5..25d2ff7 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,25 @@ Web app for your family's Christmas shopping ## Purpose To create a simple place for your entire family to use to find gifts that people want, and to avoid double-gifting. +## Docker +``` +docker run --detach --name christmas-community -p 80:80 --restart always wingysam/christmas-community +``` + +## Docker Compose +```yml +--- +version: "3" +services: + christmas-community: + image: wingysam/christmas-community + volumes: + - ./data:/data + ports: + - 80:80 + restart: always +``` + ## Install ```sh git clone https://gitlab.com/wingysam/christmas-community