CHORE: Updated readme to container new deployment instructions
This commit is contained in:
parent
f1f00257ef
commit
1a673f866f
23
README.md
23
README.md
@ -41,3 +41,26 @@ docker-compose up -d
|
|||||||
```
|
```
|
||||||
|
|
||||||
to run the container in a detatched mode.
|
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
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user