From f4ff17f56cde82fc359f2904961809f1b66365fd Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Sat, 27 Jun 2020 10:51:02 +0300 Subject: [PATCH] Small fixes --- docker/tt-rss/docker-compose.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docker/tt-rss/docker-compose.yml b/docker/tt-rss/docker-compose.yml index 98237ed..c908dce 100644 --- a/docker/tt-rss/docker-compose.yml +++ b/docker/tt-rss/docker-compose.yml @@ -1,7 +1,7 @@ version: "3" services: - db: + tt-rss-db: image: postgres:12-alpine restart: unless-stopped volumes: @@ -10,12 +10,12 @@ services: - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} - POSTGRES_USER=${POSTGRES_USER} - app: + tt-rss-app: image: cthulhoo/ttrss-fpm-pgsql-static restart: unless-stopped environment: - DB_TYPE=pgsql - - DB_HOST=db + - DB_HOST=tt-rss-db - DB_NAME=${POSTGRES_USER} - DB_USER=${POSTGRES_USER} - DB_PASS=${POSTGRES_PASSWORD} @@ -25,14 +25,14 @@ services: volumes: - /docker/tt-rss/app:/var/www/html depends_on: - - db + - tt-rss-db - updater: + tt-rss-updater: image: cthulhoo/ttrss-fpm-pgsql-static restart: unless-stopped environment: - DB_TYPE=pgsql - - DB_HOST=db + - DB_HOST=tt-rss-db - DB_NAME=${POSTGRES_USER} - DB_USER=${POSTGRES_USER} - DB_PASS=${POSTGRES_PASSWORD} @@ -42,10 +42,10 @@ services: volumes: - /docker/tt-rss/app:/var/www/html depends_on: - - app + - tt-rss-app command: /updater.sh - web: + tt-rss-web: image: cthulhoo/ttrss-web restart: unless-stopped ports: @@ -53,7 +53,7 @@ services: volumes: - /docker/tt-rss/app:/var/www/html:ro depends_on: - - app + - tt-rss-app labels: - "traefik.enable=true"