Add docker and docker-compose to readme

This commit is contained in:
Sam Wing 2019-11-10 13:48:59 -05:00
parent 623e2b75a8
commit 523aa30247

View file

@ -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