rework compose example
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-12-30 17:23:51 +01:00
parent 98d6a621e9
commit 41648220a8
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 2 additions and 27 deletions

View File

@ -27,32 +27,7 @@ docker create \
### Docker Compose ### Docker Compose
Compatible with docker-compose v2 schemas. Please take a look at the [example](https://gitea.rknet.org/docker/freshrss/src/branch/main/docker-compose.yml) compose file from the git repo.
```Yaml
version: '3'
services:
freshrss:
container_name: freshrss
image: thegeeklab/freshrss:latest
ports:
- "80:8080"
volumes:
- freshrss_data:/var/www/app/data
- freshrss_extensions:/var/www/app/extensions
environment:
FRESHRSS_DEFAULT_USER: admin
FRESHRSS_DEFAULT_PASSWORD: freshrss
FRESHRSS_API_ENABLED: "true"
FRESHRSS_SALT: "38fd29ac5878c270bbfc3599723cd479d48c6c58"
volumes:
freshrss_data:
driver: local
freshrss_extensions:
driver: local
```
## Environment variables ## Environment variables

View File

@ -4,7 +4,7 @@ version: "3"
services: services:
freshrss: freshrss:
container_name: freshrss container_name: freshrss
image: thegeeklab/freshrss:latest@sha256:885529ccbc6d2cb8f8ae05697a4f6752f5758b9fa44bad8bcaba8c05ded50ecf image: thegeeklab/freshrss
ports: ports:
- "80:8080" - "80:8080"
volumes: volumes: