Update README.md

Adding an sample compose file for docker section
This commit is contained in:
ZwF 2023-11-10 17:58:38 -05:00 committed by GitHub
parent 7e4ca23811
commit f77d2f3b52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,6 +80,24 @@ docker run -d --name wallos -v /path/to/config/wallos/db:/var/www/html/db \
-e TZ=Europe/Berlin -p 8282:80 --restart unless-stopped \ -e TZ=Europe/Berlin -p 8282:80 --restart unless-stopped \
bellamy/wallos:latest bellamy/wallos:latest
``` ```
docker-compose.yml
```
version: '3.0'
services:
wallos:
container_name: wallos
image: bellamy/wallos:latest
ports:
- "8282:80/tcp"
environment:
TZ: 'America/Toronto'
# Volumes store your data between container upgrades
volumes:
- './db:/var/www/html/db'
- './logos:/var/www/html/images/uploads/logos'
restart: unless-stopped
```
## Usage ## Usage