diff options
| author | 2020-05-14 02:39:09 -0400 | |
|---|---|---|
| committer | 2020-05-14 08:39:09 +0200 | |
| commit | 65b55d2d581ee217d36424fc0d07743bc642eaa8 (patch) | |
| tree | bb546f609e60dcaf6812a47fa71101ad0cc39144 /Docker | |
| parent | 058d13de7014994eb136f28022c24ac6e0f3e6c2 (diff) | |
fixes #2931 (#2970)
Diffstat (limited to 'Docker')
| -rw-r--r-- | Docker/README.md | 1 | ||||
| -rw-r--r-- | Docker/docker-compose.yml | 1 |
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: |
