CHORE: Updated readme to container new deployment instructions
This commit is contained in:
parent
f1f00257ef
commit
1a673f866f
25
README.md
25
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.
|
||||
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