From 66ff16294a2f5dc6a731e4e7a82409d4e3e4dee0 Mon Sep 17 00:00:00 2001 From: Upils Date: Tue, 29 May 2018 22:28:30 +0200 Subject: Correct docker-compose.yml file and add a corresponding note in the doc. (#1906) * Add a docker compose example. Using postgresql and with traefik specific labels. * Added docker-compose specific documentation. * Move docker-compose section at the end of the README.md. * Correct docker-compose.yml file and add a corresponding note in the doc. * Typo in doc. --- Docker/docker-compose.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Docker/docker-compose.yml') diff --git a/Docker/docker-compose.yml b/Docker/docker-compose.yml index a57f214da..8a8ad270b 100644 --- a/Docker/docker-compose.yml +++ b/Docker/docker-compose.yml @@ -5,7 +5,7 @@ services: image: postgres:latest restart: unless-stopped volumes: - - '/path/to/pgsql-data:/var/lib/postgresql/data:Z' + - '/path/to/pgsql-data:/var/lib/postgresql/data' environment: - POSTGRES_USER=freshrss - POSTGRES_PASSWORD=password @@ -20,7 +20,7 @@ services: - web - default volumes: - - '/your/local/directory/data:/var/www/FreshRSS/data:Z' + - '/your/local/directory/data:/var/www/FreshRSS/data' labels: - "traefik.backend=freshrss" - "traefik.docker.network=web" @@ -29,6 +29,8 @@ services: - "traefik.default.protocol=http" - "traefik.frontend.entryPoints=http,https" - "traefik.port=80" + environment: + - CRON_MIN=*/20 networks: web: -- cgit v1.2.3