Add docker and docker-compose to readme
This commit is contained in:
parent
623e2b75a8
commit
523aa30247
1 changed files with 19 additions and 0 deletions
19
README.md
19
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
|
||||
|
|
Loading…
Reference in a new issue