CHORE: Updated readme to container new deployment instructions

This commit is contained in:
Luke Else 2024-02-16 17:10:51 +00:00
parent f1f00257ef
commit 1a673f866f

View File

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