aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Docker/README.md1
-rw-r--r--Docker/docker-compose.yml1
2 files changed, 2 insertions, 0 deletions
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: