From 65b55d2d581ee217d36424fc0d07743bc642eaa8 Mon Sep 17 00:00:00 2001 From: Mike Vanbuskirk Date: Thu, 14 May 2020 02:39:09 -0400 Subject: fixes #2931 (#2970) --- Docker/README.md | 1 + Docker/docker-compose.yml | 1 + 2 files changed, 2 insertions(+) (limited to 'Docker') diff --git a/Docker/README.md b/Docker/README.md index 56d39493c..4fe1b0cde 100644 --- a/Docker/README.md +++ b/Docker/README.md @@ -287,6 +287,7 @@ Require valid-user A [docker-compose.yml](docker-compose.yml) file is given as an example, using PostgreSQL. In order to use it, you have to adapt: - In the `postgresql` service: + * `container_name` directive. Whatever you set this to will be the value you put in the "Host" field during the "Database Configuration" step of installation; * the `volumes` section. Be careful to keep the path `/var/lib/postgresql/data` for the container. If the path is wrong, you will not get any error but your db will be gone at the next run; * the `POSTGRES_PASSWORD` in the `environment` section; - In the `freshrss` service: diff --git a/Docker/docker-compose.yml b/Docker/docker-compose.yml index 9b8952329..5d0a2a8ab 100644 --- a/Docker/docker-compose.yml +++ b/Docker/docker-compose.yml @@ -4,6 +4,7 @@ services: freshrss_postgresql: image: postgres restart: unless-stopped + container_name: freshrss-db volumes: - pgsql_data:/var/lib/postgresql/data environment: -- cgit v1.2.3